From owner-freebsd-questions Wed Nov 1 6:50: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bumper.jellybaby.net (bumper.jellybaby.net [194.159.247.1]) by hub.freebsd.org (Postfix) with ESMTP id E9E1F37B4C5 for ; Wed, 1 Nov 2000 06:49:59 -0800 (PST) Received: (from simond@localhost) by bumper.jellybaby.net (8.9.2/8.9.2) id OAA05697; Wed, 1 Nov 2000 14:49:54 GMT (envelope-from simond) Date: Wed, 1 Nov 2000 14:49:53 +0000 From: simond@irrelevant.org To: Bjorn Tornqvist Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var still full after cleaning up! Message-ID: <20001101144953.B933@irrelevant.org> References: <3A002CB8.BF33C0B7@west.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3A002CB8.BF33C0B7@west.se>; from bjorn.tornqvist@west.se on Wed, Nov 01, 2000 at 03:46:16PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 01, 2000 at 03:46:16PM +0100, Bjorn Tornqvist wrote: > howdy! > > Due to a bug in modphp my httpd-errors.log grew enourmous and I had to > remove it since /var became full. > However, after removing it, 'df' still showed that /var was full, and I > still got errors about it being full. > > The only solution I've found is to reboot, but since this is a live > system (4.1-STABLE) I find this unacceptable. > > Anyone know another solution? Try stopping and starting your web server, my guess is that it's still got the file open and writing to it even though you've deleted it. Once you restart it, it should close it meaning the filesystem can really delete it. -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message