Re: F_SETLK is looking worse and worse... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: F_SETLK is looking worse and worse...
Date
Msg-id 200012092004.PAA24209@candle.pha.pa.us
Whole thread Raw
In response to Re: F_SETLK is looking worse and worse...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: F_SETLK is looking worse and worse...  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> However, I have no objection to writing the value of DataDir into
> the socket lockfile (along with the owner's PID) if that seems like
> a worthwhile bit of info.
> 
> Would there be any value in having a postmaster re-read its own socket
> lockfile every so often, to keep it looking active to /tmp sweepers?
> Or is that too much of a kluge?

Removing 10-day-old files from /tmp seems pretty broken to me, and I
hate to code around broken stuff.

--  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: Tom Lane
Date:
Subject: Re: OK, does anyone have any better ideas?
Next
From: mlw
Date:
Subject: Re: OK, does anyone have any better ideas?