From owner-freebsd-stable Wed Dec 15 7:51: 8 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail1.bna.bellsouth.net (mail1.bna.bellsouth.net [205.152.150.13]) by hub.freebsd.org (Postfix) with ESMTP id 2E4061542C for ; Wed, 15 Dec 1999 07:51:05 -0800 (PST) (envelope-from jim@siteplus.com) Received: from siteplus.com (host-216-78-82-215.cha.bellsouth.net [216.78.82.215]) by mail1.bna.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id KAA16344; Wed, 15 Dec 1999 10:50:51 -0500 (EST) Message-ID: <3857B8EF.15897975@siteplus.com> Date: Wed, 15 Dec 1999 10:51:11 -0500 From: SitePlus Web Services X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i486) X-Accept-Language: en MIME-Version: 1.0 To: Mikhail Teterin Cc: "freebsd-stable@FreeBSD.ORG" Subject: Re: /var full References: <199912151529.KAA32510@rtfm.newton> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, I had a lot of good suggestions. This one was most helpful. Remember that I had already moved mail and logs, so it turns out that the locate data base was the culprit. It will have a new home also. du -k -s -x * | sort -n 0 log 0 mail 1 account 1 preserve 1 rwho 2 crash 2 msgs 3 at 5 games 14 spool 15 backups 19 yp 45 tmp 51 run 84 cron 1374 db Thanks again, Jim Mikhail Teterin wrote: > SitePlus Web Services once stated: > > =Hi all, > > Please, ask this questions at questions@freebsd.org next time. > > =I am new to this. My web server is beginning to get pretty busy and I > =noticed today that /var was at 90% I moved and linked log and mail to > =/usr/log and /usr/mail but it is still pretty full. When I set up the > =server I allotted / and /var both 100megs. I suppose that was not > =enough for /var. > > Find out where the space is used: > > cd /var > du -k -s -x * | sort -n > > This will give you the sorted list. The last items will be the most > space consuming... Examine the last couple of items in the list with the > same commands. Have fun! > > -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message