Date: Fri, 10 Sep 2004 19:43:00 +0400 From: Sergey Zaharchenko <doublef@tele-kom.ru> To: Jerry McAllister <jerrymc@clunix.cl.msu.edu> Cc: FreeBSD-questions <questions@freebsd.org> Subject: Re: Phantom /var full messages Message-ID: <20040910154300.GA4588@shark.localdomain> In-Reply-To: <200409101523.i8AFNCr07551@clunix.cl.msu.edu> References: <B2230B47178C9E38431A941A@utd49554.utdallas.edu> <200409101523.i8AFNCr07551@clunix.cl.msu.edu>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Sep 10, 2004 at 11:23:11AM -0400, Jerry McAllister probably wrote: > > No, you are running out of space! DF has nothing to do with it. > > If one of the processes grabs some file space and then unlinks, it > is still holding/using that space and probably needs it, even if > one method (df) shows it used and another (du) does not. Don't be > fooled by the red herring of du and df disagreeing. Some process is > trying to use that space and you need more of it. > Correct. du can only show the `named' space (the size of files which are not unlinked-but-open). One of the ways to find out what has the largest files open is # fstat | grep /var | sort -r -n -k 8 | head (gives you the `top ten list' of the largest open files and the processes which use them). If the problem is in a program holding lots of small files open, then a different script (utilizing uniq -c) could be devised. > If you are doing database stuff, then I can't imagine having a /var > of less than a few GB, unless you move a lot of stuff out of /var and > create links. See some recent previous posts on the subject. 31GB is `a few GB' in some sense. > > ////jerry > > > > > Paul Schmehl (pauls@utdallas.edu) > > Adjunct Information Security Officer > > The University of Texas at Dallas > > AVIEN Founding Member > > http://www.utdallas.edu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- DoubleF Madam, there's no such thing as a tough child -- if you parboil them first for seven hours, they always come out tender. -- W. C. Fields [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBQcuDwo7hT/9lVdwRAv75AJ9h1ukaSxFOAf71lFQATs9uodOEZQCdG3zq DnefZguOBhyeNbJ6WuKEDwM= =zVC+ -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040910154300.GA4588>
