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.

cPanel Stats Runner - High CPU

Discussion in 'General Discussion' started by mwisebaker, Jan 15, 2012.

  1. mwisebaker

    mwisebaker Registered

    Jan 15, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I should start off by saying I know next to nothing about Linux. I'm a Windows guy, helping out a friend. She's got a dedicated server that someone helped set up for her and that person is no longer available.

    She's been getting emails like this:

    IMPORTANT: Do not ignore this email.
    This is cPanel stats runner on [host]!
    While processing the log files for user [username], 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
    16:57:11 up 5 days, 7:23, 0 users, load average: 1.29, 1.31, 1.37
    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 afterwards to pickup the changes).

    She asked me what that email means, and while I understand what "cpu has been maxed out" means and why this is bad, the rest of the message isn't very helpful to me. It says I should check the server but I don't even have the slightest idea where to start. Any help or suggestions would be appreciated.

    She's running CentOS Linux 5.2 on Linux 2.6.18-92.1.13.el5 on i686
  2. faisikhan

    faisikhan Well-Known Member

    Dec 12, 2011
    Likes Received:
    Trophy Points:
    Islamabad, Pakistan
    cPanel Access Level:
    Root Administrator

    It is common problem so please do this:

    Go to WHM--> Server Setup --> Tweak Settings

    "The load average above the number of cpus at which logs file processing should be suspended (default 0):"

    Change this value to 1 and you won't get any of those mails any more (until load average goes over 2.0 of course). A load average of 1.22 is nothing to worry about, especially not during the backup process with a server that's got an IDE drive.

    For 6 hour period check the files below and you will get answer that why it is showing 6 hr max:

  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    This stems from the following setting found under the "Stats and Logs" tab within "WHM >> Server Configuration >> Tweak Settings":

    "Extra CPUs for server load"

    The number entered here is the load average above the number of CPUs at which cpuwatch, cpanellogd, backups, and CPU stats consider the system to be in a critical load state. For example, a server with 4 physical CPUs and a value of 2 in this field will be considered “critical” in these cases once the load reaches 6.

    If the server load is only hovering between 1 and 2, you may want to consider slightly increasing the value for "Extra CPUs for server load".

    Thank you.

Share This Page