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 where I loose
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.
passenger and 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 another cause, 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.