TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:16067] problems with df/du mismatch



On Wed, 12 Apr 2000, Chris McKinley wrote:

> That is because you did not restart the apache process.  Until you do that, 
> there is a valid reference to those files in memory[1], even though there is 
> no inode entry in the directory.  So du will not see it, but df will.

Exactly.  As long as there is an open file handle, the file stays.

Think of the lasty time you tried deleting a logfile and forgot to HUP the
process :)

Or like when xdm dumped 300mb of errors on a box and i had to kill xdm to
get rid of the files *after* i rm'ed them :)

-- 
Scott Dier <dieman@ringworld.org> #nicnac@efnet 612.301.0265
http://www.ringworld.org/  finger:dieman@destiny.ringworld.org

Wait. Watch. Wonder.