Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watcgl.UUCP Path: utzoo!watmath!watcgl!dmmartindale From: dmmartindale@watcgl.UUCP (Dave Martindale) Newsgroups: net.unix-wizards Subject: Re: runaway grep - (nf) Message-ID: <685@watcgl.UUCP> Date: Sat, 13-Aug-83 23:37:28 EDT Article-I.D.: watcgl.685 Posted: Sat Aug 13 23:37:28 1983 Date-Received: Sun, 14-Aug-83 01:25:12 EDT References: <117@hscfvax.UUCP> Organization: U of Waterloo, Ontario Lines: 7 A runaway process that slowly eats space and suddenly releases it when it is killed does this because its output file has already been rm'ed. When a file is unlinked in UNIX, the directory entry vanishes immediately but the file still exists in its entirety, and can even continue to grow, as long as some process still has it open. Once the last process which has it open exits or otherwise closes it, the inode is deallocated and all its disk blocks freed, thus instantly releasing all that space.