my VPS just ran out of RAM and I was forced to reboot it since I wasn't even able to ssh in.
My question is where should I look at (logs, etc) to find out which process was responsibile for the RAM burst?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Unless you see something in
/var/log/messages (or some other file in
/var/log - look around) you blew your chance: By rebooting you destroyed any state information your system had, and now you need to wait for the problem to happen again.
If you suspect a RAM leak I suggest monitoring your RAM/Swap usage and noting any processes that appear to be growing over time.