passenger memory

1 view
Skip to first unread message

Trausti Thor Johannsson

unread,
Nov 23, 2009, 4:22:21 PM11/23/09
to rubyonra...@googlegroups.com
Hi All,

I am using ruby-enterprise-1.8.7-20090928 and passenger on Centos 5.2, x86_64.

passenger-memory-stats gives me that my app is using 466 MB (and
growing). What can I do to prevent this enormous eating ?


Best regards,


Trausti

Peter De Berdt

unread,
Nov 23, 2009, 5:47:19 PM11/23/09
to rubyonra...@googlegroups.com

On 23 Nov 2009, at 22:22, Trausti Thor Johannsson wrote:

I am using ruby-enterprise-1.8.7-20090928 and passenger on Centos 5.2, x86_64.

passenger-memory-stats gives me that my app is using 466 MB (and
growing).  What can I do to prevent this enormous eating ?

Find out what's leaking memory and if something is actually leaking memory. First thing to look out for: http://www.modrails.com/documentation/Users%20guide.html#_smart_spawning_gotcha_1_unintential_file_descriptor_sharing

We've personally had to deal with gotcha #2 when using threads and it killed our 8GB server over the course of a couple of days.


Best regards


Peter De Berdt


Reply all
Reply to author
Forward
0 new messages