OOM-Killer called every now and then..

Posted by SpyrosP on Super User See other posts from Super User or by SpyrosP
Published on 2011-01-09T04:37:47Z Indexed on 2011/01/09 4:55 UTC
Read the original article Hit count: 287

Filed under:
|
|

Hello there, i have a dedicated server where i've installed apache2, as well as Rails Passenger. Although i have 2GBs of RAM and most times about 1,5GB is free, there are some random times when i lose ssh and generic connectivity because oom-killer is killing processes.

I suppose there is a memory leak but i cannot find out where it comes from. oom-killer kills apache2, mysql, passenger, whatever.

Yesterday, i did a "cat syslog | grep -c oom-killer" and got 57 occurences !

It seems that something seriously destroys the memory. Once i reboot, everything comes back to normal. I suspect that it can be related to Passenger, but i'm still trying to figure it out.

Can you think of anything else, or do you have anything to suggest that will make the leak identification procedure easier ? (i was even thinking of writing a bash script, to be run with cron for like every 5 minutes).

© Super User or respective owner

Related posts about debian

Related posts about apache2