The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by ranlevi, Feb 19, 2013.

  1. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks Michael,
    I don't have that file. Hi can I tell which VPS software am I using?
    Ran
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Run this command:

    Code:
    # cat /var/cpanel/envtype
    That will tell you the environment that cPanel has detected.
     
  5. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,
    The enviroment is 'vmware'. Where to look, then?
    Thanks,
    Ran
     
  6. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    bump...anyone can help? how can if my VPS crashes due to memory running out? Thanks :)
    Ran
     
  7. max_payne

    max_payne Active Member

    Joined:
    Feb 1, 2013
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    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. :/
     
Loading...

Share This Page