What do other people use as their memory limit for mongrel in monit?
I'm using these settings below and it seems like I'm getting a lot of
emails and restarts. Should I bumb up the totalmem limit to 80 or 100?

        if totalmem is greater than 60.0 MB for 5 cycles then
restart       # eating up memory?
        if cpu is greater than 50% for 2 cycles then
alert                  # send an email to admin
        if cpu is greater than 80% for 3 cycles then
restart                # hung process?
        if loadavg(5min) greater than 10 for 8 cycles then
restart          # bad, bad, bad
        if 3 restarts within 5 cycles then
timeout                         # something is wrong, call the sys-
admin

        if failed port 8000 protocol http
                with timeout 10 seconds
                then restart
        group mongrel


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to