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!

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:
    151
    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:
    902
    Likes Received:
    0
    Trophy Points:
    166
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PWSowner

    PWSowner Well-Known Member

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

    custom scripts link in sig
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    168
    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:
    151
    Location:
    UK
    Thanks for help mates!
    It works fine now!

    Bye

    50
     
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