How much /var?

David Abrahams dave at boost-consulting.com
Wed Aug 16 16:27:11 UTC 2006


Alan McKinnon <alan at linuxholdings.co.za> writes:

> On Wed, 2006-08-16 at 09:37 -0400, David Abrahams wrote:
>> I recently ran out of space on my /var partition, which surprised me,
>> especially because I have a separate partition for /var/log.  How much
>> room should I expect the rest of /var to take up?
>
> Depends what you put in it...
>
> There will be cache files, databases, mail and print spools, www/ftp
> dirs and all manner of other things in /var. Try this:
>
> du -sh /var/*
>
> to get a list of each sub dir with total space taken up, and follow it
> down from there looking for things that are "too big" according to your
> own usage needs.
>
> Sorry for the vague answer, but there simply isn't a definitive one

Not at all; I didn't expect one.  That's perfect, thanks.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the ubuntu-users mailing list