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.

Site stats cron (analog, awstats etc) resulting in high load

Discussion in 'General Discussion' started by egsi, Jun 10, 2010.

  1. egsi

    egsi Member

    Joined:
    Aug 12, 2009
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I've noticed at a certain time of the day, each day that the site load goes up greatly and so do disk writes (via iostat). Looking at top it seems like awstats.pl and analog are causing the high load.

    So question is:
    1. How do I determine at what time the webstats are scheduled to run
    2. How do I change this time
    3. How can I possibly get it to run more frequently (in order to reduce the high load when it does run)

    Thanks
     
  2. egsi

    egsi Member

    Joined:
    Aug 12, 2009
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Managed to find some information after searching a bit more for anyone else who has a similar problem.

    WHM - > Statistics Software Configuration

    There you can define how frequently the stats are updated. If you click Schedule Configuration you can also choose when the stats are not run (ie during peak periods or when backups are running).

    Official documentation here:
    Statistics Software Configuration

    Some further reading here:
    http://forums.cpanel.net/f5/awstats-not-updating-148069.html

    and here:
    Stats :: The cPanel Admin | Help for cPanel Administrators | Consultation Available

    Hope that helps.
     
Loading...

Share This Page