From owner-freebsd-stable Wed Mar 5 17:57: 8 2003 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 4B83C37B401 for ; Wed, 5 Mar 2003 17:57:06 -0800 (PST) Received: from sushi.cryptofish.com (202-6-145-25.ip.adam.com.au [202.6.145.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E7B43FE1 for ; Wed, 5 Mar 2003 17:57:04 -0800 (PST) (envelope-from chris@foote.com.au) Received: from sushi.cryptofish.com (localhost [127.0.0.1]) by sushi.cryptofish.com (8.12.8/8.12.7) with ESMTP id h261ux6N007611; Thu, 6 Mar 2003 12:26:59 +1030 (CST) (envelope-from chris@foote.com.au) Received: from localhost (chris@localhost) by sushi.cryptofish.com (8.12.8/8.12.8/Submit) with ESMTP id h261utQG007608; Thu, 6 Mar 2003 12:26:58 +1030 (CST) X-Authentication-Warning: sushi.cryptofish.com: chris owned process doing -bs Date: Thu, 6 Mar 2003 12:26:55 +1030 (CST) From: Chris Foote X-X-Sender: chris@sushi.cryptofish.com To: "Marc G. Fournier" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: "leak" in softupdates? In-Reply-To: <20030305204526.T38115@hub.org> Message-ID: <20030306121840.I6657-100000@sushi.cryptofish.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 5 Mar 2003, Marc G. Fournier wrote: > I rebooted my server 20hrs ago, and had 20gig of free space ... now I'm > down to 4.6gig ... > > venus# df -t ufs > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/amrd0s1a 103777974 90836532 4639206 95% / > > Before I rebooted it 20hrs ago, it had drop'd down <500Meg, and after the > reboot, pop'd back up to 20gig ... > > I can't seem to find where 16gig of disk space is being used though, but, > for instance, I had 12gig of files in /var/vmcore (from crash dumps) that > I removed, which should have increased me to 16gig free, but I'm still at > 4.6gig and drop'ng ... The SZ|DV column of 'fstat' will give the size of open files, so try sorting the output: fstat -f / | sort +7 -n If the large file shows up, then you've then got the process id from PID, the open mode from R/W and you can get the filename using the INUM column: find / -inum $INUM Good luck, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message