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.

/usr almost full

Discussion in 'General Discussion' started by thewebhosting, Jul 19, 2008.

  1. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    My /usr partition is almost 92% full. Is it safe to remove usr/local/apache/domlogs?? Below is the disk space usage from each directories under /usr.

    3468324 local
    865716 share
    594172 lib
    512504 tmpDSK
    272168 bin
    192488 home
    120396 src
    35244 sbin
    27564 include
    21344 libexec
    1628 kerberos
    88 man
    76 doc
    24 X11R6
    16 lost+found
    12 etc
    12 aquota.user
    8 games
    4 tmp
    4 quota.user
     
    #1 thewebhosting, Jul 19, 2008
    Last edited: Jul 19, 2008
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    You should not delete the log files, otherwise apache may have problems starting. If you want to disable logging, you should edit httpd.conf and comment out logging for the particular domains and or perhaps run your log parsing more often as needed.

    If you simply want to empty the log files:

    echo > logfile.log
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Check for, and delete, any core files you find in /usr/local/cpanel/whostmgr/docroot
     
Loading...

Share This Page