Re: [HACKERS] postmaster crash and .s.pgsql file
Marc G. Fournier <scrappy@hub.org>
From: The Hermit Hacker <scrappy@hub.org>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: Goran Thyni <goran@bildbasen.se>, hackers@postgreSQL.org
Date: 1998-01-26T22:31:15Z
Lists: pgsql-hackers
On Mon, 26 Jan 1998, Bruce Momjian wrote:
>
> When the postmaster crashes, it leaves the /tmp/.s.pgsql file in /tmp.
> Is there a way to auto-remove it after a postmaster crash?
If we wrote the process id to the file, if the file existed, we
could read the process id and do a 'kill(pid, 0)', it "determines if a
specific process still exists"...
I'll try and look at it tonight, along with syslog() logging
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org