Mailinglist Archive: opensuse (3831 mails)

< Previous Next >
Re: [opensuse] Large /tmp dir w. many files
  • From: Kai Ponte <kai@xxxxxxxxxxxxxxxx>
  • Date: Thu, 11 Jan 2007 05:49:42 -0800
  • Message-id: <200701110549.42172.kai@xxxxxxxxxxxxxxxx>
On Thursday 11 January 2007 05:08, Carl Hartung wrote:
> On Thu January 11 2007 07:54, Nick Zentena wrote:
> > On Thursday 11 January 2007 07:51, Verner Kjærsgaard wrote:
> > > Hi list,
> > >
> > > on a SuSE9.2 with aprox. 150 users over time since 2004, the /tmp dir
> > > now holds something like +12000 files and some 3.5G in size.
> > >
> > > - would it be safe to go to runlevel 2 and delete all that?
> >
> > Check Yast. I don't remember with 9.2 but there is likely a setting to
> > automatically delete tmp files on a schedule. I've no idea why the
> > default is to not delete.
>
> In YaST:
> System -> /etc/sysconfig Editor ->System->Cron
>
> I've used these settings since 8.2 to avoid your problem:
>
> TMP_DIRS_TO_CLEAR = /tmp /var/tmp
> CLEAR_TMP_DIRS_AT_BOOT = yes
>
> I'd be inclined to enable these settings then reboot the system to confirm
> they've 'taken' and the space recovered.

Hey! Very cool, thank you.

I was running out of space on my lappie and eventually noticed about 20G of
files in /tmp/kai - never even knew the folder existed. Of course, I deleted
everything, since nothing seemed to be needed.

Now I will just have it continually empty.
--
kai - theperfectreign@xxxxxxxxx
www.perfectreign.com || www.4thedadz.com
www.filesite.org || www.donutmonster.com

wo ist der ort für den ehrlichsten kuss
ich weiss, dass ich ihn für uns finden muss...
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >