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
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
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
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
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
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
>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
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
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
9 matches
Mail list logo