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.

hard disk usage (/usr)

Discussion in 'General Discussion' started by 50c, Jul 9, 2004.

  1. 50c

    50c Active Member

    Joined:
    Jun 26, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Hi,
    i have noticed a strange thing...
    The usage of my partition (/usr) grows day by day..
    A week ago the usage was 35%, yesterday 59% and today 62%...

    Is there something wrong?
    I was thinking of logs, because i have a quite big traffic...
    How can i fix it?
    Do i have to delete some files?

    Thanks

    50c
     
  2. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Your domain logs are stored in /usr/local/apache/domlogs. My guess is taht that is where the problem lies.

    If the logs are filling up that quickly, then you definitely might have a problem. Perhaps you should rotate them weekly?
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Check my logfile scripts. They let you view and delete them from WHM.

    custom scripts link in sig
     
  4. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    go into Tweak Settings and scroll down to Stats and Logs

    tick this:

    Delete each domain's access logs after stats run

    that'll keep your /usr usage steady.

    also, wipe /usr/local/apache/logs/access_log and /usr/local/apache/logs/error_log as these can become HUGE.
     
  5. 50c

    50c Active Member

    Joined:
    Jun 26, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Thanks for help mates!
    It works fine now!

    Bye

    50
     
Loading...

Share This Page