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.

Cpanellogd Running During Peak Hours

Discussion in 'General Discussion' started by ramorse, Jul 18, 2013.

  1. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I have statistics configured to NOT run between 6 and 20 hours. Yet on one server it consistently starts running around 10 AM every day causing high loads. An ideas on how to prevent this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please check the output of your "/etc/stats.conf" file. You should see a line such as:

    Code:
    BLACKHOURS=
    It should list the hours that statistics are configured to not process. Note that the "cpanellogd" process itself may still be running. Are you sure it's actually generating statistics and not just bandwidth, or that it did not already start generating the statistics before the blackout time started?

    Thank you.
     
  3. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    OK, yes. Thanks. /etc/stats.conf does have: BLACKHOURS=6,7,8,9,10,11,12,13,14,15,16,17,18,19,20

    But I looked at top and what is running is checking bandwidth specifically. Where can I configure that?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Bandwidth processing will not observe blackout hours in cPanel version 11.38 and earlier. Per case 60571, cPanel version 11.40 (11.39 development build) implements a change so that bandwidth processing observes blackout hours.

    Thank you.
     
  5. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Yeesh. Any indication when that will be available as a RELEASE version?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There is currently no exact time frame available on when cPanel 11.40 will be pushed to the "Release" build tier. The most recent estimate has it being released as a production build around September/October but that is subject to change.

    Thank you.
     
  7. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    OK. So, until then there is no way to control when bandwidth processing runs?
     
  8. PeteN

    PeteN Registered

    Joined:
    Apr 12, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I need this to work as well - its been frustrating me for months - the process can consume up to 60% of server resources. If it was run with a lower priority I could leave it, but our websites become sluggish sometimes while it is running.

    What can we do, till this latest fix is implemented in RELEASE version?

    Cheers,
    Pete
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can only control how often it runs by modifying the "Bandwidth Processing Frequency" option in:

    "WHM Home » Server Configuration » Statistics Software Configuration"

    Thank you.
     
  10. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    At:

    WHM » Server Configuration » Tweak Settings

    You can adjust:

    "I/O priority level at which bandwidth usage is processed"

    and

    "I/O priority level at which stats logs are processed"

    to see if that helps any.
     
  11. PeteN

    PeteN Registered

    Joined:
    Apr 12, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Folks,

    The problem is that the updatebandmin process can hit 60-90% of the processor during normal business hours..I'll wait for version 11.40 I guess :)
     
Loading...

Share This Page