From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:54:22 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E6861065672 for ; Wed, 2 Apr 2008 07:54:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3DCBE8FC16 for ; Wed, 2 Apr 2008 07:54:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 04F951CC060; Wed, 2 Apr 2008 00:54:22 -0700 (PDT) Date: Wed, 2 Apr 2008 00:54:22 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080402075421.GA40172@eos.sc1.parodius.com> References: <20080402070324.GA7768@svzserv.kemerovo.su> <200804020717.m327H3qm028023@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020717.m327H3qm028023@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, Eugene Grosbein Subject: Re: /var with capacity -1% X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 07:54:22 -0000 On Wed, Apr 02, 2008 at 09:17:03AM +0200, Ingeborg Hellemo wrote: > > eugen@kuzbass.ru said: > > > It is possible to have files that are open and held by processes on > > > the filesystem that are no longer listed. If you kill the offending > L > process the space will be freed up. > > > > "lsof +aL1 " shows unlinked open files on the specified file > > system (quoting its man page). > > > If you read my first mail you will see that this is not a case of overfull > /var (101% used) and a need to free space. Something is wrong with either the > filesystem or df(1) since it claims that I am using a negative amount of > disk-blocks. > > There are no unlinked open files on /var, and I fail to understand how they > could have explained the output of df(1) Did you perform the lsof or fstat commands recommended? We understand you fail to understand how open fds to files which were removed could cause what you're seeing -- you'll have to trust us. Can you do that? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |