From owner-freebsd-questions Sat Aug 7 12:50:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id D628A14C57 for ; Sat, 7 Aug 1999 12:50:55 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Sat, 7 Aug 1999 15:49:02 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105B59@site2s1> From: Christopher Michaels To: 'Dan Lazin' , freebsd-questions@FreeBSD.ORG Subject: RE: /var is full, though it shouldn't be Date: Sat, 7 Aug 1999 15:51:27 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The output of 'du /var' may be more useful than the ls -l -R. -Chris > -----Original Message----- > From: Dan Lazin [SMTP:dan.lazin@su.ualberta.ca] > Sent: Friday, August 06, 1999 6:23 PM > To: freebsd-questions@FreeBSD.ORG > Subject: /var is full, though it shouldn't be > > Hello, all. > > I was running cat to squish together various apache log files so that they > could be analyzed by by new log-analyzers, and /var ran out of disk space > (my log files total around 8Mb, so when I took all of that and put it into > a > new file, I had 16Mb of logs, plus over 4Mb of other stuff). No problem. I > deleted the new log, and told cat to build it over on / . > > Then / ran out of space (I'm not really with it today). So I tried /usr > instead, and that worked fine. Then I noticed that this logfile was 16Mb, > and had grabbed the biggest of the logfiles twice. So I tried to open it > up > in vi, but this seems to have been a bad idea. I got told that I had a > full > filesystem, and, once again, it was /var. But /var shouldn't be full. I > ran > 'ls -l -R' and I have nowhere near 20Mb of stuff. It's closer to 5Mb, > since > I've now moved all of my logfiles over to /usr/log and symlinked that to > /var/log. What's eating up that space, and how do I rid myself of it? > > df sez: > esther# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0s1a 39647 18477 17999 51% / > /dev/wd0s1f 2852470 240264 2384009 9% /usr > /dev/wd0s1e 19815 18699 -469 103% /var > procfs 4 4 0 100% /proc > > Many thanks in advance. > > (note: I just tried to send this, and it's refusing to take it since /var > is > full, so I've had to use an account on another server. I want my mail > service back!) > > Dan Lazin > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message