From owner-freebsd-questions Tue Oct 2 20:52:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from brightstar.bomgardner.net (pool-151-204-71-88.delv.east.verizon.net [151.204.71.88]) by hub.freebsd.org (Postfix) with ESMTP id ED66D37B403 for ; Tue, 2 Oct 2001 20:52:09 -0700 (PDT) Received: (from glb@localhost) by brightstar.bomgardner.net (8.11.3/8.11.3) id f933qCo04472; Tue, 2 Oct 2001 23:52:12 -0400 (EDT) (envelope-from glb) From: Gene Bomgardner Message-Id: <200110030352.f933qCo04472@brightstar.bomgardner.net> Subject: Re: /var filling up In-Reply-To: <20011002195847.M13152-100000@labrador.dhs.org> "from David Oleszkiewicz at Oct 2, 2001 08:01:58 pm" To: David Oleszkiewicz Date: Tue, 2 Oct 2001 23:52:12 -0400 (EDT) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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 .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 > Used to. /var would fill up, but I never had to reboot to recover space. What I did was edit /etc/crontab's newsyslog entry. I added "-a /usr/log.archive" to it and created the /usr/log.archive directory. Now the zipped files wind up on the /usr slice where there is tons of room. Voila, no more /var jams. Gene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message