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.

Crazy size Drive Warning /dev/sda3 (/usr) is 83% full

Discussion in 'General Discussion' started by bsasninja, Jul 29, 2011.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Can somebody explain what is going on? I deleted some log files and I could decrease the occupied space but look:

    du -h --max-depth=1 /usr
    8.0K /usr/games
    12K /usr/etc
    13M /usr/libexec
    8.0K /usr/X11R6
    125M /usr/bin
    500M /usr/lib
    1.7M /usr/kerberos
    1.8G /usr/local
    116K /usr/man
    26M /usr/include
    16K /usr/lost+found
    68K /usr/src
    89M /usr/sbin
    609M /usr/share
    3.1G /usr


    According to this /usr is 3.1GB now when I check with df command I got

    /dev/sda3 29753588 20163088 8054688 72% /usr

    /usr partition has asigned 29GB and is telling me that is using 20GB ??? where are those other 17gb coming from??

    Thanks
     
  2. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    I did a httpd restart and all got fixed. Weird cause apache logs file were only 600mb.
     
  3. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    If apache still had the deleted files open then they would still count towards the disk usage.
     
Loading...

Share This Page