From owner-freebsd-questions@FreeBSD.ORG Sun Jan 30 00:15:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAC2A16A4CE for ; Sun, 30 Jan 2005 00:15:19 +0000 (GMT) Received: from smtpauth06.mail.atl.earthlink.net (smtpauth06.mail.atl.earthlink.net [209.86.89.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F33143D46 for ; Sun, 30 Jan 2005 00:15:19 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cv2kI-0006uQ-Hf; Sat, 29 Jan 2005 19:15:18 -0500 Received: from joeandlane.com (localhost [127.0.0.1]) by joeandlane.com (8.13.1/8.13.1) with ESMTP id j0U0Hl77049545; Sat, 29 Jan 2005 18:17:47 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.1/8.13.1/Submit) id j0U0HkkP049544; Sat, 29 Jan 2005 18:17:46 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: freebsd-questions@freebsd.org Date: Sat, 29 Jan 2005 18:17:45 -0600 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501291817.46679.lane@joeandlane.com> X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79c72e39fc8cec9eaa7a3fc3b50cc4b238350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 cc: "GRF ." Subject: Re: /var Full ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 00:15:19 -0000 Hi. I don't know if this is going to be of much use, but I encountered the same problem on 5.3-STABLE only 48 hours after upgrading from 4.10. My problem was that KDE was storing more crap than the law should allow on /var/tmp My solution was to create a symbolic link from /var/tmp to /usr/tmp I see that you only have 1.3 meg in /var/tmp so at best this is only going to help a very little. I also create a symbolic link from /var/db/locate.database to /usr/db/locate.database, as this usually eats up about 5 meg for me. I think that the REAL solution is arrived at during initial install by allocating 2 or 3 times the default partition size for /var. But I don't ever think of that until AFTER I've configured the system :) Finally, my biggest problem is that many users leave email in their inbox at /var/mail. I use openwebmail, so I just set quotas to keep that problem in check, since sendmail won't let me use symbolic links for entries in /var/mail. good luck! lane On Saturday 29 January 2005 16:48, GRF . wrote: > I am running FBSD 5.2.1 and my /var partition is giving me cannot write > to disk errors, disk is full. I cleared out what I could and got it down > to about 98% but I have some strange findings which I will show below. > [/var]> df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 248M 55M 173M 24% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1e 248M 38K 228M 0% /tmp > /dev/ad0s1f 70G 53G 11G 83% /usr > /dev/ad0s1d 248M 223M 4.5M 98% /var > > #cd /var > # du -hd1 > 2.0K ./account > 6.0K ./at > 16K ./backups > 4.0K ./crash > 390K ./cron > 5.8M ./db > 2.0K ./empty > 2.0K ./heimdal > 508K ./log > 1.9M ./mail > 4.0K ./msgs > 2.0K ./preserve > 40K ./run > 2.0K ./rwho > 66K ./spool > 1.3M ./tmp > 20K ./yp > 2.0K ./games > 1.0M ./ftp > 394K ./usermin > 2.0K ./.snap > 11M . > > Now how can /var be 11Meg and also fill up 98% or 223 Meg at the same time? > What is eating up my partition space? Uptime is 149 days and I suppose I'm > due for a reboot but I have others with processes going on the box and I > hate to reboot. > > > _______________________________________________ > 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"