Re: /tmp running out of space

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

 



Around 11:20am on Sunday, January 07, 2007 (UK time), Anne Wilson scrawled:

> On Sunday 07 January 2007 11:03, Ed Greshko wrote:
> > Anne Wilson wrote:
> > > /tmp is filling up rapidly.  I'm guessing that it would be safe enough to
> > > delete everything dated previous to the last bootup.  Am I right?
> >
> > The most logical question is, what is /tmp filling up with?  I can't say
> > that in a normally operating system I've seen /tmp filling up "rapidly"
> > without a cause and I'm not the one to go willy-nilly deleting things
> > without known why they are being created.
> 
> Duh! I mis-read the logfile line.  It's not really filling up, though there 
> are things that I think should be deleted.

Anne,

I run the following command in a cron job:

	tmpwatch --mtime --verbose --verbose 168 /tmp

You may not want the --verbose, and check the manpage for the --mtime
option, but basically this deletes all files in /tmp that have not been
modified for 168 hours or more.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 11:29:41 up 141 days, 13:56,  1 user,  load average: 0.26, 0.08, 0.02

Attachment: pgpqwmHBY6AOb.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux