Statistic Processing Schedule being ignored?

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Running WHM 11.26.8 Stable

Under Server Configuration > Statistics Software Configuration > Schedule Configuration > Statistics Schedule > Statistics Processing Times

There are checkboxes for every hour of the day, under "Check all hours that you would like log analysis NOT to be performed."

I have checked each box from 08:00 through 17:00

Yet, here it is at 13:00 and I see cpanellogd updating statistics and causing high load.

Did I miss a step or am doing something wrong?

- Scott
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Still having this problem.

Guess I am the only one. Maybe 11.28 will address this.... will see in a couple weeks.

- Scott
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
cpanellogd will process bandwidth (the bytes_logs) regardless of the Statistics Processing Times stipulated. This decision was made after testing in the lab and receiving feedback from customers. Skipping the bandwidth processing causes greater load problems in the common case than the load caused by ignoring the Statistics Processing Times.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Thanks for the info! Of course now my next question is... why is the feature there? Does it do something else besides getting ignored?

P.S. my server load was over 10.0 before I killed off the cpanellogd process, which brought the box back down below 1. I tend to disagree with removing this feature, to stop cpanellogd from running during peak server utilization times... but you must have done this for a reason. :)

- Scott
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
cpanellogd runs in two phases:

Phase 1: process the access logs for domains.

Phase 2: process the bytes_logs for domains.

Phase 1 is governed by this feature. Phase 2 is not.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Thank you! It is starting to make sense. cpanellogd may run for different reasons then, right?

Access Logs = whatever the users sees under "stats" (i.e. AWStats). We can control when cpanellogd runs to update the user's stats.

Bytes Logs = bandwidth usage processing. We cannot control when cpanellogd runs to update the user's bandwidth usage.

Am I getting it?

- Scott