/tmp is for *temporary* files. Such a lock is not a temporary file, it should go somewhere in /var, why not in /var/lib/pgsql/data ? > The 'tmpwatch' program on Red Hat will remove the /tmp/.s.PGSQL.5432.lock > file after the server has run 6 days. This will be a problem. > > We could touch (open) the file once every time the ServerLoop() runs > around. It's not perfect but it should work in practice.
- Re: [HACKERS] Sure enough, the... Oliver Elphick
- Re: [HACKERS] Sure enough,... Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is... Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is gon... Peter Eisentraut
- Re: [HACKERS] Sure enough, the lock file is... Tom Lane
- Re: [HACKERS] Sure enough, the lock fil... Tom Lane
- Re: [HACKERS] Sure enough, the lock... Bruce Momjian
- Re: [HACKERS] Sure enough, the... Ross J. Reedstrom
- [HACKERS] Re: Sure enough, the lock file is... GB Clark II
- Re: [HACKERS] Sure enough, the lock file is gone Alfred Perlstein
- Re: [HACKERS] Re: Sure enough, the lock file is gone Florent Guillaume
- Re: [HACKERS] Re: Sure enough, the lock file is... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock fil... The Hermit Hacker
- Re: [HACKERS] Re: Sure enough, the lock... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the ... Peter Eisentraut
- Re: [HACKERS] Re: Sure enough,... Lamar Owen
- Re: [HACKERS] Re: Sure eno... Tom Lane
- [HACKERS] Re: Sure enough,... Florent Guillaume
- Re: [HACKERS] Re: Sure eno... Trond Eivind Glomsrød
- Re: [HACKERS] Re: Sure eno... Tom Lane
- Re: [HACKERS] Re: Sure eno... Lamar Owen