Why is /var so big?

Jephthah jephthahG at comcast.net
Sun Mar 20 05:11:24 UTC 2005


Without looking into it too deeply, I would guess your /var/cache is
previously viewed webpages.  And it's the only thing that is really
causing you grief in /var...  The rest consumes a trival amount.

So just do a  "rm -rf /var/cache" to wipe it out.

You can make this command an alias and/or add it to your startup script
or even a regularly occuring cron action if you like.  



> -----Original Message-----
> From: fedora-list-bounces at redhat.com 
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Rob Rosenthal
> Sent: Saturday, March 19, 2005 7:28 PM
> To: fedora-list at redhat.com
> Subject: Why is /var so big?
> 
> 
> After checking out another thread regarding disk space, I checked my 
> disk usage and found that I had over 1000MB of stuff in /var. 
>  Here is 
> the output of "du -sh *" from /var:
> 
> [root at pcp09725103pcs var]# du -sh *
> 4.0K    account
> 902M    cache
> 2.0M    clamav
> 4.0K    db
> 4.0K    dkms
> 8.0K    empty
> 8.0K    gdm
> 97M     lib
> 4.0K    local
> 20K     lock
> 3.3M    log
> 0       mail
> 8.0K    named
> 4.0K    nis
> 4.0K    opt
> 4.0K    preserve
> 172K    run
> 936K    spool
> 8.0K    state
> 3.3M    tmp
> 120K    webmin
> 1.2M    www
> 12K     yp
> 
> Please forgive me, as I am a relative newbie, but what the 
> heck is all 
> this stuff?  What can I get rid of?
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 




More information about the fedora-list mailing list