Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- To: Rob Browning <email@example.com>, firstname.lastname@example.org
- Subject: Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- From: Joey Hess <email@example.com>
- Date: Thu, 1 Oct 1998 15:36:05 -0700
- Message-id: <19981001153605.M7965@kitenet.net>
- Mail-followup-to: Rob Browning <firstname.lastname@example.org>, email@example.com
- In-reply-to: <firstname.lastname@example.org>; from Rob Browning on Tue, Sep 29, 1998 at 10:48:39AM +0000
- References: <E0zIefO-0001wQemail@example.com> <19980914130647.U8006@kitenet.net> <19980915191641.C2802@wau.mis.ah.nl> <19980915125932.M835@kitenet.net> <19980916113125.C26071@wau.mis.ah.nl> <firstname.lastname@example.org> <19980917095705.B4145@wau.mis.ah.nl> <email@example.com> <19980929144411.A28267@wau.mis.ah.nl> <firstname.lastname@example.org>
Rob Browning wrote:
> Paul Slootman <email@example.com> writes:
> > tmpreaper already uses the access time; the problem is where an
> > ssh-agent session is running for a long time without being accessed.
> > Perhaps ssh-agent should be modified so that it does a periodic access
> > on its sockets. e.g. once a day... These sockets being removed must be
> > a problem on other (unix) systems as well...
> That sounds like a reasonable idea. Helps everyone. I like that
> better than an exception list.
I can't say I agree. It feels like a hack. What if the ssh-agent is running,
but suspended, for several days?
I just had a wacky idea - why not use something similar to lsof to figure
out what processes have files in /tmp open. If any process have a file open,
don't delete it. Would that be a more general solution? (It might slow
tmpreaper down too much, though).
see shy jo