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.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:
    6
    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?
     
  2. MaestriaNick

    MaestriaNick Well-Known Member

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

    yolau Active Member

    Joined:
    Sep 1, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    For domains with heavy traffic it is something normal
     
    #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:
    6
    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?
     
    #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:
    6
    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
     
  6. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    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...
     
  7. PondRicefied

    PondRicefied Well-Known Member

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

    And in order to solve this problem, I need your help.
     
Loading...

Share This Page