[Mongrel] Memory leaks in my site

Jens Kraemer kraemer at webit.de
Thu Mar 8 07:38:59 EST 2007


On Thu, Mar 08, 2007 at 10:24:40AM +0100, Piet Hadermann wrote:
>  
> Quick fix could be to use HAProxy for loadbalancing and setting the max
> number of connections per mongrel to 1.
> Added bonus here is that all requests get queued op at HAProxy (which is
> very conservative on memory use) and routed to the first available
> mongrel process instead of getting queued op at mongrel level.
>  
> I read nginx would in the near future (or maybe already) have the option
> to limit the number of simultaneous proxied connections. But HAProxy is
> the only tool that can do this that I have experience with (still
> wondering why the Rails community seems to favor Pound so much).

Afair Pen can limit the number of connections per mongrel process, too.

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
kraemer at webit.de | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa


More information about the Mongrel-users mailing list