Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    239

    Default I get robbed! Who stole my disk space?

    I list my disk
    Code:
    root@emma [~]# df -Th
    Filesystem    Type    Size  Used Avail Use% Mounted on
    /dev/sda5     ext3    7.8G  638M  6.8G   9% /
    /dev/sda8     ext3     39G  4.8G   32G  14% /home
    /dev/sda6     ext3    996M   36M  909M   4% /tmp
    /dev/sda3     ext3    7.8G  6.6G  768M  90% /usr
    /dev/sda2     ext3    9.7G 1004M  8.3G  11% /var
    /dev/sda1     ext3    122M   17M  100M  14% /boot
    tmpfs        tmpfs   1014M     0 1014M   0% /dev/shm
    /dev/sdb1     ext3     67G  294M   63G   1% /opt/cdp-server
    then show disk use for /usr
    Code:
    root@emma [~]# du -sh /usr
    3.4G	/usr
    root@emma [~]#
    So, how can i fix this little problem?
    Cristian

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Occasionally extremely large files that have been recently deleted will still hold
    onto their resources temporarily even though the files are deleted; this can be
    discovered by running lsof (in this case, lsof +L1).

    Usually, a system reboot will clear this issue.

    If you are running a VPS account, they may be having quota managment
    problems on the physical server machine.

  3. #3
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    239

    Default

    Quote Originally Posted by Spiral View Post
    Occasionally extremely large files that have been recently deleted will still hold
    onto their resources temporarily even though the files are deleted; this can be
    discovered by running lsof (in this case, lsof +L1).

    Usually, a system reboot will clear this issue.

    If you are running a VPS account, they may be having quota managment
    problems on the physical server machine.
    Many thanks Spiral, +L1 shows a lot of large files deleted. There is any way to clear that w/o reboot?
    Cristian

  4. #4
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    239

    Default

    Nevermind, restarting apache do the trick.
    Cristian

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Quote Originally Posted by benito View Post
    Many thanks Spiral, +L1 shows a lot of large files deleted. There is any way to clear that w/o reboot?
    Reboot would be the easiest way ...

    However, you could do a "ps -ef | grep ####" where #### is the PID
    shown in your 'lsof' command output next to the large files to be cleared
    to find out exactly what process is holding those file pointers open
    and then restart that specific process or service.

Similar Threads & Tags
Similar threads

  1. add MySQL Disk Space in user quota space
    By activa in forum E-mail Discussions
    Replies: 139
    Last Post: 10-07-2010, 11:16 AM
  2. "disk used" only calculating MySQL Disk Space..
    By damainman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-25-2010, 09:02 AM
  3. add mailman's disk space in user quota space
    By fleksi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-02-2007, 02:08 AM
  4. Mail usage: show disk space used does not match actual disk usage
    By NNNils in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-25-2004, 08:01 AM
  5. Disk Space Available Resets to Unlimited Space
    By spoony in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-26-2002, 12:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube