Re: postmaster.pid disappeared

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

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Looking at his report, what's happening is that the postmaster is shutting
> down, but the other backends are not ... they're hanging around as
> zombies.

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()).

> Not sure why, but I'm chatting with him on IRC.

Find out what the parent process of the zombies actually is.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-05-24 20:49:48 Re: IN/OUT parameters
Previous Message Tom Lane 2005-05-24 20:35:30 Re: IN/OUT parameters