On 4/3/07, Wayne E. Seguin <[EMAIL PROTECTED]> wrote:
> >  memory limits on mongrel?
> Monit is what you are looking for.

There is also Process.rlimit.
The upside of rlimit, compared to monit, is that it will kill Mongrel
BEFORE it exceeds its allocation quota. The downside is that it will
not start another.

So, if you need to defend against normal memory leaks, monit is a must
have (for restarts), while Process.rlimit can be an extra precaution
against those cases when something is trying to allocate a lot of RAM
at once, and runs the box into swapping hell before monit has a chance
to kill the offending process.

Alex
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to