Re: How to enable Debian to automatically clear the tmp directory

2008-09-20 Thread Michelle Konzack
Am 2008-08-28 10:39:05, schrieb Ryan Klein: > I have been searching for a way to have Debian automatically remove > files in the /tmp directory after a period of time. We need it mainly > for removing old session files that grow quite rapidly (a rate of 10 per > second). I am hoping Debian has a

Re: How to enable Debian to automatically clear the tmp directory

2008-09-20 Thread Michelle Konzack
Am 2008-08-28 12:05:08, schrieb Stackpole, Chris: > I second the cronjob. Just have something along the lines of: > find /tmp -type f -ctime +1 CTIME is the wrong thing. You need definitively ATIME since otherwise you can kill your system > Obviously, you will need to set ctime to be the numbe

Re: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread Andrew Reid
On Thursday 28 August 2008 11:39, Ryan Klein wrote: > I have been searching for a way to have Debian automatically remove > files in the /tmp directory after a period of time. We need it mainly > for removing old session files that grow quite rapidly (a rate of 10 per > second). I am hoping Debian

Re: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread John Hasler
Package: tmpreaper Priority: optional Section: admin Installed-Size: 108 Maintainer: Paul Slootman <[EMAIL PROTECTED]> Architecture: amd64 Version: 1.6.10 Replaces: tmpwatch Depends: debconf (>= 0.5.0) | debconf-2.0, libc6 (>= 2.7-1) Conflicts: tmpwatch Filename: pool/main/t/tmpreaper/tmpreaper_1.6

Re: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread Steve Lamb
On Thu, Aug 28, 2008 at 12:05:08PM -0500, Stackpole, Chris wrote: > I second the cronjob. Just have something along the lines of: > find /tmp -type f -ctime +1 mtime or atime. ctime has no bearing on whether the files are still in use. mtime is not perfect but will show if a file has been up

RE: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread nate
Stackpole, Chris wrote: > If someone has a better way, please comment. Maybe better, maybe not, I haven't used it, but Package: tmpreaper [..] Description: cleans up files in directories based on their age This package provides a program that can be used to clean out temporary-file directories

RE: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread Stackpole, Chris
>From: Richard Möhn [mailto:[EMAIL PROTECTED] >Subject: Re: How to enable Debian to automatically clear the tmp directory > >On Thu, Aug 28, 2008 at 10:39:05AM -0500, Ryan Klein wrote: >> I have been searching for a way to have Debian automatically remove >> files in th

Re: How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread Richard Möhn
On Thu, Aug 28, 2008 at 10:39:05AM -0500, Ryan Klein wrote: > I have been searching for a way to have Debian automatically remove > files in the /tmp directory after a period of time. We need it mainly > for removing old session files that grow quite rapidly (a rate of 10 per > second). I am

How to enable Debian to automatically clear the tmp directory

2008-08-28 Thread Ryan Klein
I have been searching for a way to have Debian automatically remove files in the /tmp directory after a period of time. We need it mainly for removing old session files that grow quite rapidly (a rate of 10 per second). I am hoping Debian has a built in utility, otherwise a package will suffice