Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var keeps filling up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
speak_see_hear
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 168
Location: New Jersey

PostPosted: Sun Oct 17, 2004 3:36 pm    Post subject: /var keeps filling up Reply with quote

I reinstalled Gentoo yesterday, I have a 9G /var partition. I installed, apache2, php, python, perl, ruby, mysql, postgre, webmin. and then I get notice that my /var partition is full. How on earth did 8 programs take up 9.0 gig? What am I doing wrong. This happened before and I went and put a larger hard drive in the box thinking that would solve it, but alas it hasn't. Please help.

Thanks
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Sun Oct 17, 2004 4:12 pm    Post subject: Reply with quote

everything in /var/tmp/portage/* can be deleted. use this command to see what's using up space:

du --max-depth=1 /var| sort -n
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Mon Oct 18, 2004 1:02 am    Post subject: 8 programs, or the data with 8 programs? Reply with quote

There is lots of application data stored under /var so
you should look at what is happening on the system rather
than buying more disks.

Print spooling is storied under /var, as well as database files, as
well as email, and web page space, and logs, portage
dist files, etc.

Start at /var, and as root user drill down through the biggest
disk consumers you find. This command was mentioned in the
Linux Server Hacks book by O'Reilly:
Code:
du -cks *

If you add an 'h' flag in there, the size summary
comes up in a human readable format. cd to the largest
disk consumers, and repeat the du cks * again to see
what folder from there is eating up disk space.
Eventually you will have a specific folder or several
that consume the disk space. At that point either you will
go "ah ha!" or you can come back here with more specific
info on what folders were overloaded.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum