Topic: Mongrel memory usage - how much do your mongrels use?
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www-data 13793 1.0 21.6 255452 113364 ? Sl 11:12 5:54 /usr/bin/ruby1.8 ...
www-data 13796 0.9 21.9 258480 115012 ? Sl 11:12 5:35 /usr/bin/ruby1.8 ...
I've had a hard time getting good, hard numbers on people's mongrel memory usage. My hunch is that mine is quite high, but before I got nuts chasing down memory leaks and inefficiencies, I'd like to know what others' mongrels look like.
I've pasted the output from ps. I think it's important to show both the RSS and the VSZ, since this shows how much is in memory vs how much is in swap space, correct?
For a little background, we've got a fairly standard web app that's doing some captchas and thumbnailing with RMagick, and I can't think of anything else funky. That's why I'm thinking that my memory usage is just too darn high. Otherwise, it might be time to upgrade from my 512MB VPS to a full 1G.
Please post your own memory usage, if you don't mind, and give an overview of anything special about your setup (RMagick and/or other intensive libraries).