From owner-freebsd-current Mon Mar 6 10:43:05 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA14059 for current-outgoing; Mon, 6 Mar 1995 10:43:05 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA14053 for ; Mon, 6 Mar 1995 10:43:00 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id KAA03392; Mon, 6 Mar 1995 10:42:38 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id KAA02233; Mon, 6 Mar 1995 10:42:38 -0800 Message-Id: <199503061842.KAA02233@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: terry@cs.weber.edu (Terry Lambert) cc: current@FreeBSD.org Subject: Re: "Text file busy" with program not running anymore? In-reply-to: Your message of "Mon, 06 Mar 95 10:38:17 MST." <9503061738.AA18467@cs.weber.edu> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 06 Mar 1995 10:42:37 -0800 Sender: current-owner@FreeBSD.org Precedence: bulk >> >Does this mean that the space allocated on disk to those programs will >> >not be freed until you unmount that disk or reboot? >> >> No, it only means that the space will be consumed until either the file is >> rm'd or the vnode is pushed out of the cache (or the disk is unmounted - >> which uncaches all of the associated vnodes). > >Luckily, the working set limitations mean that this will probably take >as effectively long as "until you unmount that disk or reboot". > >Isn't that true? No, the behavior is controlled by the limit on cached objects (not on the pages associated with them). I've lost the context of what we're talking about here. Any file that is currently mapped into a process that is subsequantly deleted will continue to consume space until all mappers of it have unmapped it (or in other words, until all references to it have been dropped). This is the same behavior as you would expect if you had the file open when someone else deleted it. -DG