Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 2004 11:44:36 -0600
From:      Jose Hidalgo Herrera <jose@hostarica.com>
To:        Jason Andresen <jandrese@mitre.org>
Cc:        jose@hostarica.com
Subject:   Re: bugs with disk space
Message-ID:  <1086803076.86397.2.camel@jose.hostarica.net>
In-Reply-To: <40C74BC8.8040906@mitre.org>
References:  <1086798813.85952.7.camel@jose.hostarica.net> <40C74BC8.8040906@mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1086803076.86397.2.camel>