You are hereBlogs / hutcho's blog / LAMP Memory Tuning
LAMP Memory Tuning
Running a VPS? Going over your oomguarpages limit?
Well this should help
http://onlamp.com/pub/a/onlamp/2004/02/05/lamp_tuning.html
In particular check out the section about MaxRequestsPerChild and you can use this command ps axu --sort:rss to see how much RAM you are using.