[cpuwatchcheck] Cpu/Server Overload

Discussion in 'Site & Server Administration' started by Divvy, Dec 8, 2011.

  1. #1
    Hi guys,

    Since one month ago that I'm receiving many emails with notifications from my server about CPU overload.

    Can please someone tell me how can I detect the account or issue that is causing this overload? I use WHM and also have access via SSH.

    This is a copy of the last email:
    IMPORTANT: Do not ignore this email.
     This is cPanel cpuwatch on server.enigmahost.org!
     While processing, the cpu has been 
    maxed out for more than a 6 hour period.  The current load/uptime line on the server at the time of 
    this email is
     10:49:04 up 233 days, 22:06,  0 users,  load average: 2.20, 2.34, 2.49
     You should check the server to see why the load is so high and take 
    steps to lower the load.  If you want stats to continue to run even with a high load; Edit 
    /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run 
    /usr/local/cpanel/startup
    Code (markup):
    Thank you
     
    Divvy, Dec 8, 2011 IP
  2. zebulon

    zebulon Well-Known Member

    Messages:
    198
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #2
    In WHM goto system processes. In there you should be able to see the process(es) ripping up your CPU. Another problem could be another user on the same node as you who is causing the problem (identical processes running, too many, etc).

    A simple fix would be to disable all ssh/shell access to your clients temporarily and go in through your own ssh as root, and look at the processes running then terminate the processes which are redundant. Secondly, look at which client is using the most bandwidth, there is usually a direct correlation between bandwidth usage and cpu load.

    Cheers,
     
    zebulon, Dec 8, 2011 IP
  3. Divvy

    Divvy Well-Known Member

    Messages:
    785
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Divvy, Dec 8, 2011 IP
  4. Divvy

    Divvy Well-Known Member

    Messages:
    785
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Divvy, Dec 8, 2011 IP
  5. zebulon

    zebulon Well-Known Member

    Messages:
    198
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Just travelling now and I hate using the crackberry to diagnose issues. Later this evening I'm jump onto my laptop and get you an answer or atleast a possible solution.
     
    zebulon, Dec 8, 2011 IP
  6. Divvy

    Divvy Well-Known Member

    Messages:
    785
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #6
    Divvy, Dec 8, 2011 IP
  7. BarrettNetworks

    BarrettNetworks Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I see gzip is running and taking a lot of power are you performing a backup? You may also want to try limiting execution time it prevents scripts from wasting server resources. Let me know if you still need help :)
     
    BarrettNetworks, Dec 10, 2011 IP
  8. ideamine

    ideamine Member

    Messages:
    83
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    28
    #8
    Hi,

    We are a Server management company ( ideaminetech.com ) and we would like to help you on this. Please drop an email to sales at ideaminetech.com
     
    ideamine, Dec 12, 2011 IP