Re: postmaster.pid disappeared

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: postmaster.pid disappeared
Date: 2005-05-24 20:56:46
Message-ID: 200505241356.46707.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

> The zombies couldn't be dead backends if the postmaster has gone away:
> in every Unix I know, a zombie process disappears instantly if its
> parent dies (since the only reason for a zombie in the first place
> is to hold the process' exit status until the parent reads it with
> wait()).

yeah, I think I spoke too soon. What it looks like is that pg_ctl is
reporting success while actually failing to shut down the postmaster.
Solaris makes it a little hard to read; parent-process relationships aren't
as clear as they are in Linux.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Junaili Lie 2005-05-24 21:12:17 Re: postmaster.pid disappeared
Previous Message Tom Lane 2005-05-24 20:49:48 Re: IN/OUT parameters