From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 9 17:45:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEDEA16A4CE for ; Wed, 9 Jun 2004 17:45:20 +0000 (GMT) Received: from mx.hostarica.com (mx.hostarica.com [196.40.45.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7393743D49 for ; Wed, 9 Jun 2004 17:45:20 +0000 (GMT) (envelope-from jose@hostarica.com) Received: from localhost (localhost.hostarica.com [127.0.0.1]) by mx.hostarica.com (Postfix) with ESMTP id 6BFFBF755; Wed, 9 Jun 2004 11:48:14 -0600 (CST) Received: from [192.168.0.69] (unknown [192.168.0.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.hostarica.com (Postfix) with ESMTP id B0224F74E; Wed, 9 Jun 2004 11:48:12 -0600 (CST) From: Jose Hidalgo Herrera To: Jason Andresen In-Reply-To: <40C74BC8.8040906@mitre.org> References: <1086798813.85952.7.camel@jose.hostarica.net> <40C74BC8.8040906@mitre.org> Content-Type: text/plain Organization: Corp. Hosta Rica Message-Id: <1086803076.86397.2.camel@jose.hostarica.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 09 Jun 2004 11:44:36 -0600 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd 0.1 cc: hackers@freebsd.org cc: jose@hostarica.com Subject: Re: bugs with disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jose@hostarica.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 17:45:20 -0000 Yes, I did: ~# lsof +aL1 and found that snmpd was the problem, I killed it and now du = df Sorry for the mail! On Wed, 2004-06-09 at 11:41, Jason Andresen wrote: > Jose Hidalgo Herrera wrote: > > There is something wrong here: > > > > srv0:~# uname -r > > 4.9-RELEASE-p4 > > > > srv0:~# df -hi / > > Filesystem Size Used Avail Capacity iused ifree %iused Mounted on > > /dev/ad0s1a 126M 125M -8.9M 108% 1364 14890 8% / > > > > srv0:~# du -shx / > > 36M / > > > > The operating system complains about free space, but I'm only using 36M, > > while the df says that I'm using 125M, the inodes are not the problem. > > You probably have programs accessing files on / that have been unlinked. > Once the process terminates (or closes the file descriptor) you will > get your space back. If you deleted a large temp file or log file to > free up space, try restarting the process that created the temp/log file.