Re: Processes with open handles to unlinked files
- From: "Tony Lawrence" <pcunix@xxxxxxxxx>
- Date: 14 Dec 2006 06:28:30 -0800
James Wilkinson wrote:
Arun wrote:
Is there anyway in Linux to list all the processes with open handles to
unlinked files? I need this because sometimes filesystems get filled up
and when I add the size of each file in the whole FS, it's far less
than the FS size. I need to find those processes and kill them if
necessary. Any pointer to a relevant link is highly appreciated.
Tony Lawrence replied:
But what process is so sloppy as to do this kind of thing regularly?
Some programs will deliberately create temporary files and unlink them
immediately, to ensure that if anything is killed or crashes, the
Yes, of course: I do that myself. But what I meant was what process is
so sloppy that it matters?
I might have a couple of files hanging about for a few minutes, but not
enough that I'm concerned about disk space (certainly not nowadays
anyway!). And those processes WILL end, and the space will be
reclaimed - this sounds like he's got some runaway rogue..
--
Tony Lawrence
Unix/Linux/Mac OS X Resources
http://aplawrence.com
.
- Follow-Ups:
- Re: Processes with open handles to unlinked files
- From: James Wilkinson
- Re: Processes with open handles to unlinked files
- References:
- Processes with open handles to unlinked files
- From: Arun
- Re: Processes with open handles to unlinked files
- From: Robert M. Riches Jr.
- Re: Processes with open handles to unlinked files
- From: Tony Lawrence
- Re: Processes with open handles to unlinked files
- From: James Wilkinson
- Processes with open handles to unlinked files
- Prev by Date: Re: Processes with open handles to unlinked files
- Next by Date: Re: laptop and lcd projector
- Previous by thread: Re: Processes with open handles to unlinked files
- Next by thread: Re: Processes with open handles to unlinked files
- Index(es):
Relevant Pages
|