Unreferenced files not being deleted

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Fri, 27 Jan 2006 06:56:47 +1100
On my recent -current, I've noticed that /var is filling up with
unreferenced files.  I think I've noticed this with some other
partitions but they aren't as active and I didn't check carefully.
fstat(8) and lsof both agree that the files are not open and I've
unmounted all nfs clients.  I don't think it happens to all files,
I suspect (but haven't confirmed) that it happens when an open
file is deleted and then closed.

I've noticed this for a while on crashes but assumed it was just
processes keeping open files around.  fsck seems to clean up the
files but in the case of /var, this basically means rebooting the
system.

Has anyone else seen anything similar to this?

-- 
Peter Jeremy
Received on Thu Jan 26 2006 - 18:57:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC