#1 (permalink)  
Old 06-12-2009, 10:49 AM
Registered User
 
Join Date: Jan 2004
Location: Mar del Plata - Argentina
Posts: 216
benito
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-12-2009, 11:12 AM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-12-2009, 11:23 AM
Registered User
 
Join Date: Jan 2004
Location: Mar del Plata - Argentina
Posts: 216
benito
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-12-2009, 11:29 AM
Registered User
 
Join Date: Jan 2004
Location: Mar del Plata - Argentina
Posts: 216
benito
Nevermind, restarting apache do the trick.
__________________
Cristian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-14-2009, 05:45 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
add MySQL Disk Space in user quota space activa cPanel Newbies 136 09-29-2009 04:42 PM
add mailman's disk space in user quota space fleksi cPanel and WHM Discussions 1 05-02-2007 02:08 AM
Mail usage: show disk space used does not match actual disk usage NNNils cPanel and WHM Discussions 1 11-25-2004 08:01 AM
disk space salvatore333 cPanel and WHM Discussions 2 03-07-2004 02:36 AM
Disk Space Available Resets to Unlimited Space spoony cPanel and WHM Discussions 4 03-26-2002 12:31 AM


All times are GMT -5. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc