Date: Tue, 2 Oct 2001 21:26:45 -0700 From: Kelsey Cummings <kgc@sonic.net> To: Zach Hartley <zhartley@linus.highpoint.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var filling up Message-ID: <20011002212645.E38238@sonic.net> In-Reply-To: <20011003000106.B8905@linus.highpoint.edu>; from zhartley@linus.highpoint.edu on Wed, Oct 03, 2001 at 12:01:06AM -0400 References: <20011002195847.M13152-100000@labrador.dhs.org> <20011003000106.B8905@linus.highpoint.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 03, 2001 at 12:01:06AM -0400, Zach Hartley wrote: > Around Tue, Oct 02, 2001 at 08:01:58PM -0700, David Oleszkiewicz thus spake the following: > > so after about a week and a half of firewall messages and normal logging > > messages, my /var fills up. i scan through all the logrotated <log>.gz > > files for anything interesting and then i remove them. the thing is the > > /bin/df output shows that /var is still above 100%. This means i can't > > send or receive mail or anything interesting like that. i reboot and then > > everything is ok. > > > > /var is it's own slice with like 20M > > FreeBSD 4.3 > > You might wish to use a bigger partition for /var, 20 megs will not get > you very far. If reinstalling is not an option, I've heard of people 20 megs wouldn't get you very far at all. I think my mail spool alone is over 250MB right now. (Gotta trim that, mutt takes too long to start.) However, it would seem to me that something is holding open a file that is rm'd on the filesystem. That's the only way that I can think that df would show a capacity that wasn't true. Is softupdates turned on for /var? If so, have you tried 'sync' to see if that changes the df output? > suggesting creating a tmp directory on a larger partition and symlinking > /var to it. > > i.e., something like: > mkdir /usr/var ; mv /var/* /usr/var ; rmdir /var ; ln -s > /usr/var /var Sounds like a fine idea to me. -- Kelsey Cummings - kgc@sonic.net sonic.net System Administrator 300 B Street, Ste 101 707.522.1000 (Voice) Santa Rosa, CA 95404 707.547.2199 (Fax) http://www.sonic.net/ Fingerprint = 7F 59 43 1B 44 8A 0D 57 91 08 73 73 7A 48 90 C5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011002212645.E38238>