Re: Sure enough, the lock file is gone - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Sure enough, the lock file is gone
Date
Msg-id 200101270452.XAA05187@candle.pha.pa.us
Whole thread Raw
In response to Re: Sure enough, the lock file is gone  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List pgsql-hackers
> On Fri, Jan 26, 2001 at 03:18:13PM -0500, Bruce Momjian wrote:
> > > 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.
> > 
> > If we have to do it, let's make it an #ifdef __linux__ option.
> 
> #ifdef BRAINDAMAGED_TMP_CLEANER ?
> 
> ISTR mention of non-linux platforms that do this.

Yes, thank you.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Hardwired MAXBACKENDS limit could be history
Next
From: Bruce Momjian
Date:
Subject: Re: Sure enough, the lock file is gone