Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 1999 15:51:27 -0400 
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Dan Lazin' <dan.lazin@su.ualberta.ca>, freebsd-questions@FreeBSD.ORG
Subject:   RE: /var is full, though it shouldn't be
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105B59@site2s1>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105B59>