Date: Thu, 6 Mar 2003 12:26:55 +1030 (CST) From: Chris Foote <chris@foote.com.au> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: "leak" in softupdates? Message-ID: <20030306121840.I6657-100000@sushi.cryptofish.com> In-Reply-To: <20030305204526.T38115@hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030306121840.I6657-100000>