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 how to make it run only at night?

Discussion in 'General Discussion' started by rebouy, Oct 3, 2011.

  1. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Is there any way to make cpanellog run only at certain hours?
    Its running thru the day and the hdd hammering has its toll in the service's quality.
    We already purchased a second hdd to balance io load, but it will help if logs would be process after working hours.

    eg
    cpanellogd - updating bandwidth for XXACCOUNTXXX (at 13:00pm)


    Regards,
    Martin
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There are some settings here you might be interested in:
    WHM > Server Configuration > Statistics Software Configuration
     
  3. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Yes, there are some useful settings there, but nothing that will prevent cpanellogd still runs in the middle of the day.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    In "WHM >> Server Configuration >> Statistics Software Configuration", you can click on:

    "Configure Statistic Process Time Schedule"

    This will allow you to check all hours that you would like log analysis NOT to be performed.

    Thank you.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is the server time set properly?
     
  6. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    The server's time is correct ( checked with: date '+%H:%M' ), and the Statistics Software Configuration was already check from 8:00 to 20:00.
    Right now is 9:15 in here and i spot cpanellogd among the process " cpanellogd - updating bandwidth for useraccount "

    Regards,
    Martin
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Check here:
    WHM > Server Configuration > Server Time

    Is this a busy server with many large accounts?
     
  8. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    checked the time at WHM > Server Configuration > Server Time and its the correct one.
    Yes, its a large server, but cpanellogd is not processing logs all the time, its starts and stop through the whole day.

    Regards,
    Martin
     
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page