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 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:
    1
    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:
    1
    Location:
    England
    If it's the Apache logs you're meaning, have you restarted Apache? It'll still have the filehandles open if not.
     
  3. danielco

    danielco Member

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

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    /usr/local/cpanel has 1.7 GB in my server. What does it mean?
     
Loading...

Share This Page