Cpanellogd Running During Peak Hours

ramorse

Well-Known Member
Sep 6, 2003
247
5
168
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?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

ramorse

Well-Known Member
Sep 6, 2003
247
5
168
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?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Yeesh. Any indication when that will be available as a RELEASE version?
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.
 

PeteN

Member
Apr 12, 2010
7
0
51
OK. So, until then there is no way to control when bandwidth processing runs?
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
 

kdean

Well-Known Member
Oct 19, 2012
315
32
28
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.
 

PeteN

Member
Apr 12, 2010
7
0
51
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 :)