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.

Statistic Processing Schedule being ignored?

Discussion in 'General Discussion' started by sneader, Oct 4, 2010.

  1. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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
     
  2. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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
     
    #4 sneader, Nov 18, 2010
    Last edited: Nov 18, 2010
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  6. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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
     
Loading...

Share This Page