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.

Awstats update = high CPU

Discussion in 'General Discussion' started by stryka, Dec 8, 2004.

  1. stryka

    stryka Member

    Joined:
    Jul 20, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello, in my WHM logs i see the following:

    usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configmydomain.com -update

    Is there anything I can do to schedule this activity??

    It usually happens in the day and bogs down my CPU. What is this command actually doing??
     
  2. jester.ro

    jester.ro Well-Known Member
    PartnerNOC

    Joined:
    Feb 6, 2004
    Messages:
    304
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    it's parsing your access_logs from apache using awstats.
    you should look for the Log Scheduler in WHM (left frame, bottom)

    there you can configure hours when logs should NOT run.

    But keep in mind, if you have a busy server, and your site has alot of visits(witch means more logs) then you should leave the logs to be parsed all day.

    I had a problem with a client, it's producing 1.5-2 gbytes access_log /day. And i had Log scheduler configured so that logs don't run between 9 AM and 6 PM. That was a mistake :). After three day, i had....BIG logs, that were unparsable.

    And anyway, awstats runs with 19 niceness, so it shold eat too much.
     
Loading...

Share This Page