[nSLUG] EXT3 missing log file
me at joedunn.com
Tue Feb 9 14:44:12 AST 2010
was this apache and it wasn't shutdown before the logfile got whatever done
to it. Cause the file handle will be kept open. Actually most things will
keep the file handle open and you'll just have mystery space. syslog/apache
On Tue, Feb 9, 2010 at 1:38 PM, John Stanton <john at stantonnet.org> wrote:
> Thanks, So the file has been removed but the process still has it open.
> Know of anyway to get that file back?or view its contents?
> John Stanton, RHCE
> john at stantonnet.org
> On 02/09/2010 02:05 PM, Ben Armstrong wrote:
> > On Tue, 09 Feb 2010 13:49:57 -0400
> > John Stanton<john at stantonnet.org> wrote:
> >> I have a process I do not want to kill, but the filesystem is filling up
> >> quickly(ext3 100Mb free, and the log file is missing), The process seems
> >> fine. lsof is saying the file is still open.
> >> Any ideas why the log has disappeared? Or where it may have went?
> >> Any help would be great.
> > A simple test case demonstrating what's happening with two open
> > terminals:
> > terminal 1:
> > synrg at lear:~$ cat>testfile
> > blah
> > terminal 2:
> > synrg at lear:~$ rm testfile
> > synrg at lear:~$ lsof |grep testfile
> > cat 11005 synrg 1w REG 8,1 5
> > 27349088 /u11/u12/home/synrg/testfile (deleted)
> > Until I close the cat in terminal 1 by issuing an EOF, the file
> > exists. It just doesn't have a directory entry pointing at it.
> > Ben
> > --
> > ,-. nSLUG http://www.nslug.ns.ca synrg at sanctuary.nslug.ns.ca
> > \`' Debian http://www.debian.org synrg at debian.org
> > ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
> nSLUG mailing list
> nSLUG at nslug.ns.ca
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nSLUG