Re: [HACKERS] postmaster crash and .s.pgsql file

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Goran Thyni <goran(at)bildbasen(dot)se>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-26 22:31:15
Message-ID: Pine.BSF.3.96.980126182639.252l-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-26 22:39:26 socket name
Previous Message Darren King 1998-01-26 21:43:38 Re: [HACKERS] Group By, NULL values and inconsistent behaviour.