From owner-freebsd-stable@FreeBSD.ORG Wed Jul 9 09:41:57 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2836137B401 for ; Wed, 9 Jul 2003 09:41:57 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D8F43F3F for ; Wed, 9 Jul 2003 09:41:56 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 9 Jul 2003 17:41:48 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19aHz0-0003Yb-00; Wed, 09 Jul 2003 17:39:54 +0100 Date: Wed, 9 Jul 2003 17:39:54 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Kirk Strauser In-Reply-To: <87fzlfhghb.fsf@pooh.honeypot.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-stable@freebsd.org Subject: Re: /var error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 09 Jul 2003 16:41:57 -0000 On Wed, 9 Jul 2003, Kirk Strauser wrote: > At 2003-07-09T08:36:50Z, "Brandon S. Allbery KF8NH" writes: > > > Install sysutils/lsof and use it to find what program has a deleted file > > open on /var; kill that program, and the space will be reclaimed. > > I see that advice a lot. Is lsof inherently superior to `fstat' in the base > system? You don't _need_ lsof, it just ties things neatly together for you. If you don't have lsof (for whatever reason), you can scan down /var looking for "missing" open inodes - eg, the script at http://ioctl.org/unix/scripts/openfiles does that. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ ...and then three milkmaids turned up (to the delight and delactation of the crowd).