Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

awstats.pl overloads

Discussion in 'General Discussion' started by PondRicefied, Sep 3, 2008.

  1. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    The statistics of awstats are taken every day.
    There is a domain where a load average exceeds 2-20 in that case.
    I think that summing work has taken time.
    How to solve?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    68
    may be domlogs for some domains are very large and taking time to process. Please check the log sizes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. yolau

    yolau Active Member

    Joined:
    Sep 1, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    56
    For domains with heavy traffic it is something normal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 yolau, Sep 4, 2008
    Last edited: Sep 4, 2008
  4. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    I looked at the log in domlogs.
    As for the log, all on and after June 16, 2008 are recorded, and size is 1GB or more.
    How can this size of log be made smaller?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 PondRicefied, Sep 5, 2008
    Last edited: Sep 5, 2008
  5. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    I changed the following lines in awstats.testdomain.conf, in order to reduce the log size of a domain.

    ---conf---
    PurgeLogFile=1
    ArchiveLogRecords=1
    ---

    However, it was not possible by error.

    ---error---
    Error: Enable to archive log records of "/usr/local/apache/domlogs/testdomain" into "/home/test/tmp/awstats/awstats_archive.testdomain.log" because source can't be opened for read and write: Permission denied<br />

    Setup ('/home/test/tmp/awstats/awstats.testdomain.conf' file, web server or permissions) may be wrong.
    Check config file, permissions and AWStats documentation (in 'docs' directory).
    ---
    *test = user name, testdomain = domain name
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    In spite of setting "Delete each domain's access logs after stats run" of WHM to On, the access log of each domain is not deleted.

    Isn't the access log a file in a domlogs folder?

    Please help...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    I cannot leave the very high load average by cpanelloged and awstats.pl.

    And in order to solve this problem, I need your help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice