Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    1
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice