If you stop cpanellogd, then stats will stop logging info? Cause my server is running cpanellogd in rush hours creating high load.
![]()
If you stop cpanellogd, then stats will stop logging info? Cause my server is running cpanellogd in rush hours creating high load.
![]()
If you stop cpanellogd, then website statistics will no longer be generated.
If you do not want stats processing to occur during hours known to have high server loads, simply go to WHM -> Service Configuration -> Statistics Software Configuration and in the bottom-right corner of the page click the "Configure Statistic Process Time Schedule" button. Simply check the hours it should not run, click save. It is best to be very conservative with regards to setting which hours the software is not permitted to run, because if you exclude too many hours your statistics run may never complete and website statistics may not be properly generated for all cPanel accounts on the server.
perfect, I didnt see that feature. Only need to stop them betweem 15pm and 18pm that are the more high traffic hours.
The process itself keeps running but it should say "sleeping for logs" at that point instead of actually processing any logs.
ps aux the process during those times to see what it shows, it should be showing as sleeping (basically, idle). You cannot have the process not run at all, since that would mean it was killed off.
Here's an example on my machine where it isn't processing logs:
Code:# ps aux|grep cpanellogd root 22446 0.0 0.0 6320 632 pts/2 S+ 05:34 0:00 grep cpanellogd root 26370 0.0 0.1 3820 1720 ? SN Jul10 0:00 cpanellogd - sleeping for logs