The following _may_ be the answer to your problem.

---------- Forwarded message ----------
Date: Tue, 6 May 2003 10:52:24 -0700 (PDT)
From: Jonathan Bartlett <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: / filling up - where?

What you may be running into is the "invisible file" problem.

Let's say you have a long-running process "foo", which keeps an open file
to it's log file - that is, it doesn't open it for each message, it just
keeps it open the entire time. Let's then say that while foo is running
that file grows large, and you delete it.  What most people don't know is
that the file will still be there AND CONTINUE TO GROW until foo is killed
or exits.  However, it won't be accessible to any process but foo.  The
file will continue to take up space and show up in df, but it won't have a
directory entry associated with it so it won't show up in du.

I believe lsof may help you here.  You may be able to find it by doing

lsof|grep deleted

Jon




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to