I set the default memory limit to 110Mb on engineyard slices.  Memory  
usage also varied on 32bit vs 64bit platforms. If you are on 32bit  
then mongrels use about 10% less emory then on 64bit servers.

Cheers-
-Ezra


On Oct 30, 2007, at 10:39 AM, John Nunemaker wrote:

> Yeah, I'm thinking that 60 might be too small. I'll bump it up.
>
> On Oct 30, 2007, at 1:31 PM, Adrian Madrid wrote:
>
>> I'm using 70 and 90MB in two different apps. So far it's been good  
>> for me.
>>
>> AEM
>>
>> On 10/30/07, jnunemaker < [EMAIL PROTECTED]> wrote:
>> 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