Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 10:51:11 -0500
From:      SitePlus Web Services <jim@siteplus.com>
To:        Mikhail Teterin <mi@kot.ne.mediaone.net>
Cc:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: /var full
Message-ID:  <3857B8EF.15897975@siteplus.com>
References:  <199912151529.KAA32510@rtfm.newton>

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




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