Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Default Stats/Server Overload

    I have been getting these emails a lot lately:

    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
    11:27:55 up 26 days, 5:20, 0 users, load average: 8.62, 31.30, 38.94

    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).

    Should I just go ahead and change extracpus, and if so, which number do you recommend changing it to?

    Also where exactly do I do this stuff at? I logged on to SSH and ran /var/cpanel/cpanel.config and nothing happened. My site has CPanel and I see nothing under CPanel that has anything to do with this. Do I need to login to something else?

    thanks

  2. #2
    Member
    Join Date
    Jul 2008
    Location
    localhost
    Posts
    101

    Default

    Hi

    What you can do here is configure logs to process at night OR non business hours. Also check as to how often Bandwidth and Log Processing Frequency is set to.

  3. #3
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    If you edit /var/cpanel/cpanel.config directly, you must run the following command afterward to apply the changes:
    Code:
    # /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    This has the same effect as saving the changes in the WebHost Manager in Main >> Server Configuration >> Tweak Settings. The extracpus value in /var/cpanel/cpanel.config is labeled as "The load average above the number of cpus at which logs file processing should be suspended" in Tweak Settings.

    You can change the statistics software processing schedule in the WebHost Manager in Main >> Server Configuration >> Statistics Software Configuration.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2006
    Location
    Lansing, Mi
    Posts
    19

    Default

    Quote Originally Posted by codenameviper View Post
    I have been getting these emails a lot lately:

    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
    11:27:55 up 26 days, 5:20, 0 users, load average: 8.62, 31.30, 38.94

    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).
    ...
    (emphasis mine)

    While a load of 8 is not panic time (depending on the hardware that you're using) I would still suggest identifying if the stats processing is what's causing the load, or if there's something else that needs to be addressed. You should be able to do that from the process list, or ask your host for help tracking it down.
    Benny Crampton
    Liquid Web || StormOnDemand
    1-800-580-4985 | Twitter: @liquidweb | @StormOnDemand

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by LiquidWebBenny View Post
    (emphasis mine)

    While a load of 8 is not panic time (depending on the hardware that you're using) I would still suggest identifying if the stats processing is what's causing the load, or if there's something else that needs to be addressed. You should be able to do that from the process list, or ask your host for help tracking it down.
    Double the emphasis .....

    Benny could not of stated that any better. Listen. Do.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2006
    Location
    Lansing, Mi
    Posts
    19

    Default

    Quote Originally Posted by Spiral View Post
    Double the emphasis .....

    Benny could not of stated that any better. Listen. Do.
    Thanks.
    Benny Crampton
    Liquid Web || StormOnDemand
    1-800-580-4985 | Twitter: @liquidweb | @StormOnDemand

  7. #7
    Member
    Join Date
    Oct 2003
    Posts
    57

    Default

    Quote Originally Posted by codenameviper View Post
    Also where exactly do I do this stuff at? I logged on to SSH and ran /var/cpanel/cpanel.config and nothing happened. My site has CPanel and I see nothing under CPanel that has anything to do with this. Do I need to login to something else?

    thanks
    You really, really should consider hiring a qualified Linux admin to configure your server based on your post.

    cPanel is not a substitute for Linux administration skills. There's a very good chance your server load is running high because it's been compromised in some way and is being used for hacking, spam, warez, etc - probably due to the system not being secured properly.

  8. #8
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by ne0shell View Post
    Quote Originally Posted by codenamedviper
    ... I logged on to SSH and ran /var/cpanel/cpanel.config...
    You really, really should consider hiring a qualified Linux admin to configure your server based on your post.
    Good eyes! I didn't catch that the user actually posted that!

    (And, I definitely agree with the sentiment and second the motion)

Similar Threads & Tags
Similar threads

  1. Stats/Server Overload
    By ivaserver in forum cPanel and WHM Discussions
    Replies: 28
    Last Post: 08-07-2008, 09:25 AM
  2. [statscheck] Stats/Server Overload
    By J.C in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-09-2007, 06:23 PM
  3. Stats/Server Overload
    By NovemberRain in forum cPanel and WHM Discussions
    Replies: 26
    Last Post: 07-06-2006, 02:55 PM
  4. [statscheck] Stats/Server Overload on ...Help
    By essene in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-21-2003, 12:57 PM
  5. Server Stats Overload
    By gic in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-21-2003, 12:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube