var is mysteriously clogged
John Sellens
jsellens-Iv5KO+h6AVB+Y12zHexnB0EOCMrvLtNR at public.gmane.org
Mon Dec 26 06:34:16 UTC 2005
| [root at localhost ~]# cd /var
| [root at localhost var]# du
| 37M .
|
| [root at localhost var]# df
| Filesystem Size Used Avail Use% Mounted on
| /dev/hda6 1.9G 1.8G 0 100% /var
You likely have a process with a big open, removed file in /var.
File space is not actually reclaiming until the last link to it
is removed, and the last open file descriptor is closed.
So, for example, if you have a big log file that, say, apache
has open, you can't reclaim the space just by removing the file.
You also have to cause apache to close the file.
Try "lsof /var" and look for a likely culprit.
Cheers!
John
(wondering why I'm reading mail at 1:30am on boxing day)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list