[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 100% used / file system. Help!



Hi Lisi,
On Wed, Sep 21, 2011 at 04:39:45PM +0100, Lisi wrote:
> On Wednesday 21 September 2011 16:16:31 Stan Hoeppner wrote:
> > On 9/21/2011 9:14 AM, Lisi wrote:
> > > And I have taken in that /var/log is a likely culprit.
> >
> > Not necessarily.  On a server /var/log is a likely culprit, but on a GUI
> > workstation I'd think /var/cache or /usr would be more likely, assuming
> > the problem is a hosed/misconfigured program.  If the problem is the
> > result of an errant drag/drop the files causing the undue swelling could
> > be in any directory you had/have write access to.
> >
> > # du -s -h /var
> > # du -s -h /var/log
> > # du -s -h /var/cache
> > # du -s -h /var/tmp
> > # du -s -h /lost+found
> > # du -s -h /root
> > # du -s -h /tmp
> > # du -s -h /usr
> 
> /var/cache and /usr are 6 G between them, so are certainly not 
> small.  /var/log is not very big at all.  But that still doesn't explain the 
> jump.  Perhaps I have started doing something differently without realising 
> it.
> 
> Tux:/home/lisi# du -s -h /var
> 2.9G    /var
> Tux:/home/lisi# du -s -h /var/log
> 320M    /var/log
> Tux:/home/lisi# du -s -h /var/cache
> 2.3G    /var/cache
> Tux:/home/lisi# du -s -h /var/tmp
> 43M     /var/tmp
> Tux:/home/lisi# du -s -h /lost+found
> 16K     /lost+found
> Tux:/home/lisi# du -s -h /root
> 3.4M    /root
> Tux:/home/lisi# du -s -h /tmp
> 120K    /tmp
> Tux:/home/lisi# du -s -h /usr
> 3.7G    /usr
> Tux:/home/lisi#
For /var/cache: did you clean the package cache? "aptitude clean" might
help... (depending on your configuration it MIGHT be that you have many
old .deb-Archives in /var/cache/apt/archives)
So, if "du -s -h /var/cache/apt/archives" reports something large, this
might be the problem...

Axel


Reply to: