On Fri, Jan 26, 2001 at 11:55:16PM -0500, Bruce Momjian wrote: > > I said: > > > Yes, there are lots of systems that will clean /tmp --- and since the > > > lock file is an ordinary file (not a socket) pretty much any tmp-cleaner > > > is going to decide to remove it. I think that I had intended to insert > > > a periodic touch of the lockfile and forgot to. > > > > Done now. > > Yes, checkpoint is a good place to put it. Thanks. I still liked the > BRAINDAMAGED_TMP_CLEANER though. > Well, from reading the rest of the thread, it seems that, while tmpreaper _is_, in fact, brain damaged (it'll eat socket files) that wasn't what we were talking about: removal of apparently stale ordinary files, like our lockfile, is what tmp cleaners are all about, even if it is problematic. Personally, I've always thought tmp cleaners are a bad idea, a bandaid approach to cleaning up after poorly written software: i.e. broken by design. Well, it's resolved now, for pgsql. Can't fix all the software out there, I guess. Ross
- Re: [HACKERS] Sure enough, the lock file is... Peter Eisentraut
- Re: [HACKERS] Sure enough, the lock fil... Jan Wieck
- Re: [HACKERS] Sure enough, the loc... Bruce Guenter
- Re: [HACKERS] Sure enough, the loc... Oliver Elphick
- Re: [HACKERS] Sure enough, the... Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is gon... Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is gone Peter Eisentraut
- Re: [HACKERS] Sure enough, the lock file is gon... Tom Lane
- Re: [HACKERS] Sure enough, the lock file is... Tom Lane
- Re: [HACKERS] Sure enough, the lock fil... Bruce Momjian
- [HACKERS] Re: Sure enough, the loc... Ross J. Reedstrom
- [HACKERS] Re: Sure enough, the lock file is gon... GB Clark II
- Re: [HACKERS] Sure enough, the lock file is gone Alfred Perlstein
- [HACKERS] Re: Sure enough, the lock file is gone Florent Guillaume
- Re: [HACKERS] Re: Sure enough, the lock file is gon... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is... The Hermit Hacker
- Re: [HACKERS] Re: Sure enough, the lock fil... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock... Peter Eisentraut
- Re: [HACKERS] Re: Sure enough, the... Lamar Owen
- Re: [HACKERS] Re: Sure enough,... Tom Lane
- [HACKERS] Re: Sure enough, the... Florent Guillaume