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.

[statscheck] Stats/Server Overload on xxxx.xxx

Discussion in 'General Discussion' started by ptez, Sep 3, 2003.

  1. ptez

    ptez Active Member

    Joined:
    Jun 5, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    IMPORTANT: Do not ignore this email.
    This is cPanel stats runner on xxxx.xxx!
    While processing the log files for user ABC, the cpu has been
    maxed out for more then a 6 hour period. The current load/uptime line on the server at the time of
    this email is
    2:12am up 2 days, 15:48, 0 users, load average: 1.06, 0.84, 0.93
    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).

    ============================


    1. What should I do in this case?

    2. Where can I remove the log? or shorten the log rotation time for some certain account?

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    I would just increase the CPU value for cpanel.

    edit /var/cpanel/cpanel.config
    search for extracpus= and change the value from 0 to 3
    save, close and execute /usr/local/cpanel/startup

    This will enable your machine to run up to a max load of 4 without halting stats generation. A load of 4 also really isn't that bad.

    cPanel.net Support Ticket Number:
     
  3. ptez

    ptez Active Member

    Joined:
    Jun 5, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6

    Is that for a Pentium machine? or Xeon machine?
    Or even for a Celeron one is ok as well?

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    My suggestion was pretty much for any machine with 1 or 2 processors.

    cPanel.net Support Ticket Number:
     
  5. paralard

    paralard Well-Known Member

    Joined:
    Mar 2, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Austin Texas
    I have done this, but it is rsync for my backuo server that is causing these problems for me...... Any ideas?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page