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.

Issues with cpanel VPS running out of memory/crashing

Discussion in 'General Discussion' started by M001, Aug 30, 2011.

  1. M001

    M001 Member

    Joined:
    Aug 30, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi guys, I run cPanel in a VPS with 1.5GB of memory and 1.5GB of swap. I only have 24 customers on this machine and the issue only started happening lately. Basically the machine starts throwing kernel messages that indicate the machine is out of memory and all my apps crash. I can't login to the machine from the console or anything until I force reboot it. It says my swap space is filled too. How do I find out what is taking all of my memory or causing this issue?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,685
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can check the "Daily Process Log" to see if any processes are using excessive amounts of memory:

    "WHM >> Server Status >> Daily Process Log"

    Beyond that, you may find it helpful to contact your VPS provider to see if they can check for any problems on the VPS hardware node itself related to the memory usage of your VPS.

    Thank you.
     
  3. M001

    M001 Member

    Joined:
    Aug 30, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yesterday the VPS crashed a few times, so I looked at logs from yesterday. The highest number in mem column is only 34.59%, and a couple others have 6%'s and one 9%. So I'm not sure what else I should be looking at since these numbers seem low. Any other suggestions?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    These numbers would not be low, especially 34.59% for memory usage.
     
  5. cutabovehost

    cutabovehost Member

    Joined:
    Oct 19, 2010
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Could you elaborate on that?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,685
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Tristan is stating that 34.59% memory usage for a process would not be considered low. You should look into that process to see if it continues to use that much memory.

    Also, I suggest contacting your VPS hosting provider to have them check if there are any issues with memory usage on the node itself. High memory usage would not typically result in your VPS failing to respond, so it's possible the issue is on the VPS node.

    Thank you.
     
Loading...

Share This Page