var is mysteriously clogged

Sy Ali sy1234-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Dec 26 12:32:44 UTC 2005


On 12/26/05, John Sellens <jsellens-Iv5KO+h6AVB+Y12zHexnB0EOCMrvLtNR at public.gmane.org> wrote:
> 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.

Geeze, I think that's it.. I do have very aggressive system logging,
and I'd bet it's not being particularly smart.  I'll reboot, and watch
things closer.

syslogd   6977   root    2w   REG    3,6 635317036 211846
/var/log/syslog (deleted)
syslogd   6977   root    4w   REG    3,6 545659201 211872
/var/log/messages (deleted)
syslogd   6977   root   12w   REG    3,6 314128554 211946
/var/log/kernel/info (deleted)
syslogd   6977   root   13w   REG    3,6 208249228 211950
/var/log/kernel/warnings (deleted)
syslogd   6977   root   14w   REG    3,6 112619924 211942
/var/log/kernel/errors (deleted)

Actually, some of that really worries me.. I probably have some system
issues.. meh.
--
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