Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 22:17:52 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        David Oleszkiewicz <davido@labrador.dhs.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /var filling up
Message-ID:  <Pine.BSF.4.10.10110022211570.75806-100000@andrsn.stanford.edu>
In-Reply-To: <20011002195847.M13152-100000@labrador.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Oct 2001, David Oleszkiewicz wrote:

> 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
> 
> Has anyone else seen this problem
> 
The size of the /var partition created when you use the A(uto)
command for the size of file systems being created in the 
FreeBSD slice is 20MB, and that's generally too small.

When you reinstall, you should make it bigger.

Meanwhile, as root move the contents of the tmp directory to 
/usr/tmp and then make a symbolic link for tmp in /var pointing
to /usr/tmp, so temporary files go to /usr/tmp.

The locate database is a little under 1% of total file space
used, and you might want to relocate it as well; you might have
to then tell the locate command where the database is (you can
alias locate so you don't have to repeating do this).  See man
locate.

	Annelise 

-- 
Annelise Anderson
Author of: 		 FreeBSD: An Open-Source Operating System for Your PC
Available from:	 mall.daemonnews.org and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/	




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?Pine.BSF.4.10.10110022211570.75806-100000>