On Fri, 15 Mar 2002, John Hunter wrote:
> Brandon> Linux sometimes has ghost processes that chew up large
> Brandon> amounts of filespace and zombie out. Look for lots of
> Brandon> zombie (Z) processes with "ps auxwwww" and see what that
> Brandon> turns up.
>
> One:
>
> root 19153 0.0 0.0 0 0 ? Z 11:08 0:00 [httpd <defunct>]
Five dollars says that this process has a huge logfile
which is invisible to you. Here's how it works:
httpd opens log file.
httpd writes to log file.
httpd somehow gets zombified.
cron runs a rotate logs script.
(this silently fails. the zombie still owns
the inode, so the space is still used [and
even increases over time]).
whupz.
> I freed up some space by clearing out other files and the df numbers
> went down commensurate with what I cleared. But the amount of free
> space is steadily eroding. Something is eating it, but what and
> where. May resort to the reboot after half an hour or so. Damned, my
> cherished 122 day uptime is in jeopardy!
Unfortunately, the only way to get rid of zombies is to
reboot.
122 days is pretty good. Save it in your motd.
-b.
_____________________________________________b r a n d o n h a r r i s___
[EMAIL PROTECTED] www.gaijin.com
_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits