[Linux-aus] linux.conf.au

Andrew Pollock me at andrew.net.au
Wed Dec 7 15:03:01 UTC 2005


On Wed, Dec 07, 2005 at 09:12:11AM +1030, David Lloyd wrote:
> 
> Hmmm...
> 
> > > Time for a DSL uberkludge:
> > > 
> > > ---
> > > root# crontab -l
> > > 0 * * * * rm -rf /tmp/*
> > > ---
> > > 
> > > :P
> 
> Hmmm...
> 
> Maybe:
> 
> PSEUDO CODE
> 
> lsof /tmp/*
> kill -HUP PID
> kill -SIGTEM PID
> rm -rf /tmp/*
> 
> Although that is truly drastic :)

Yes, given the box exists to run UML instances for other services, and those
services are critical.

FWIW, disk isn't an issue, so I've grown /tmp to be 1.5Gb. I suspect the
problems were related to recently growing the amount of RAM available to the
UML instances, with flow on effects to the size of temp files created.

regards

Andrew




More information about the linux-aus mailing list