Peter Eisentraut <[EMAIL PROTECTED]> writes: > Bruce Momjian writes: >> If we have to do it, let's make it an #ifdef __linux__ option. > What does Linux have to do with it? FreeBSD does the same thing, only > every three days. I dont' know whether it's not enabled on a fresh > install, but it's there, you only need to flip the switch. I doubt /tmp > cleaning is such an unusual thing, especially on large sites. 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. Touching it every time through ServerLoop is an overreaction though. I'd suggest touching it in the checkpoint-process-firing code, which runs every five minutes (or so?) by default. regards, tom lane
- Re: [HACKERS] Sure enough, the lock file is gone Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is gone Ross J. Reedstrom
- Re: [HACKERS] Sure enough, the lock file is gon... Jan Wieck
- 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
- Re: [HACKERS] 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