Lee Begg wrote, On 05/18/2012 03:54 PM:
On Fri, 18 May 2012 09:07:08 Steve Holdoway wrote:
The only thing that gets cleared down on a reboot ( by default! )
is /tmp. Nothing else gets touched.
That's not quite the whole picture.
If you are doing regular software updates, extra disk space will be used by
the currently in use files until they are released, which happens as they are
shutdown and closed by programs (for example). Even logging out and back in
again sometimes regains 20-50MB after an apt-get dist-upgrade (on sid) for me.
Updating the kernel I find consumes about 15MB until I reboot. OpenOffice and
Chromium use more.
There are other reasons this can happen in addition to software updates, but
they should be more rare.
I had a weird one on my home pfsense firewall... /var is only about 60 Mbytes, and it was over-full. As in 109% filled.
But a    du -shc /var     returned 8.9 Mbytes in use.

Turns out that a process of iplog was running but the package had been uninstalled so it was somehow able to write files into /var and immediately delete them, but was not able to clean up the file handle so the disk was slowly being eaten.

Killing iplog was enough to free the file handles and all is well.


--
Craig Falconer

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to