[cfarm-users] gcc110 nearly out of disk space in /tmp/ (94% full, 115MB free)

Segher Boessenkool segher at kernel.crashing.org
Wed Mar 27 18:30:25 CET 2019


On Wed, Mar 27, 2019 at 10:15:38AM +0000, Jonathan Wakely via cfarm-users wrote:
> On Wed, 27 Mar 2019 at 10:04, Tomas Härdin via cfarm-users
> <cfarm-users at lists.tetaneutral.net> wrote:
> >
> > ons 2019-03-27 klockan 09:01 +0100 skrev Martin Guy via cfarm-users:
> > > They probably didn't even know that their work had filled /tmp so
> > > thanks for making this known.
> > >
> > > To make this less likely to happen in future (or, at least, be
> > > self-repairing!) an admin could add
> > >
> > > find /tmp -type f -mtime +1 -exec rm {} \;
> > > find /tmp/* -type d -empty -exec rmdir {} \;
> > >
> > > in a cron job.
> >
> > I'd just like to add that leaving garbage in /tmp is a recurring
> > problem with Python things in general, especially pip. So it isn't so
> > strange that few people notice it
> 
> Or you could take the opposite view, that since python things leave so
> much garbage in /tmp you should be more alert to it on systems you
> share with other users.

All of this.

Note that /tmp already is cleaned up automatically, just not very
aggressively (10d), and it is a small filesystem by today's standards.


Segher


More information about the cfarm-users mailing list