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!

/usr partition full

Discussion in 'General Discussion' started by danielco, Jun 2, 2008.

  1. danielco

    danielco Member

    Joined:
    Apr 26, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hello, we have the /usr partition full on our cpanel server.
    I deleted almost all log files, but it is still high. The cpanel reports the /usr is used 84%.
    But, there is something weird.
    The df -sch output is:

    # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda7 965M 499M 417M 55% /
    /dev/sda1 46M 15M 29M 33% /boot
    tmpfs 1.5G 0 1.5G 0% /dev/shm
    /dev/sda8 44G 38G 4.3G 90% /home
    /dev/sda6 965M 179M 737M 20% /tmp
    /dev/sda2 15G 12G 2.3G 84% /usr
    /dev/sda3 11G 3.1G 6.8G 32% /var

    and the
    du -sch /usr output is:

    ]# du -sch /usr
    3.1G /usr
    3.1G total
    Why two different tools shows different disk usage for the same partition??
    How can try figure out this issue?
     
  2. Chris B

    Chris B Member

    Joined:
    Nov 26, 2001
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    301
    Location:
    England
    If it's the Apache logs you're meaning, have you restarted Apache? It'll still have the filehandles open if not.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. danielco

    danielco Member

    Joined:
    Apr 26, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    The /usr partition has the same disk usage, 84%
     
  4. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    133
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Mulund, India, India
    /usr/local/cpanel has 1.7 GB in my server. What does it mean?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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