VPS crash due to memory limit- how to know for sure?

ranlevi

Member
Feb 1, 2013
6
0
1
cPanel Access Level
Root Administrator
Hi, all,
I've a VPS with a wordpress blog running on it- i'm a newbie to hosting.

My server crashed two times already. My hosting service support tells me
it's because the VPS reached it's memory limit.
How can I tell this is the actual reason? is there a log that will show me memory usage or errors
just prior to the crash? Or maybe some other helpful information?

Thanks,
Ran
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

This depends on the VPS software in use. You can look at the "failcnt" entries in the following file in most cases:

Code:
# /proc/user_beancounters
This file is documented at:

OpenVZ Linux Containers Wiki

Thank you.
 

max_payne

Active Member
Feb 1, 2013
33
1
6
cPanel Access Level
Root Administrator
A VPS running out of memory causes a hard crash. I don't think your hosting company is lying to you. Tell them to give you the output of the following:

/usr/local/bin/vpsstat

See how many memory failures show up in that report. I know that command works on Virtuozzo. Not sure about VMWare. :/