Re: bgwriter never dies - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: bgwriter never dies
Date
Msg-id 20040227142917.GA22237@wolff.to
Whole thread Raw
In response to Re: bgwriter never dies  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Feb 26, 2004 at 17:09:21 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > Should we have a pgmon process that watches the postmaster
> > and restarts it if required?
> 
> I doubt it; in practice the postmaster is *very* reliable (because it
> doesn't do much), and so I'm not sure that adding a watchdog is going to
> increase the net reliability of the system.  The sorts of things that
> could take out the postmaster are likely to take out a watchdog too.

Running postgres under daemontools is an easy way to accomplish this.
The one case it won't handle is if some process gets the process id
from the old postgres process before the new one starts up.


pgsql-hackers by date:

Previous
From: "Bort, Paul"
Date:
Subject: Re: [pgsql-www] Collaboration Tool Proposal
Next
From: Andrew Dunstan
Date:
Subject: Re: [pgsql-www] Collaboration Tool Proposal