Re: Backend process is still runs even postmaster got killed

From: Hari Babu <haribabu(dot)kommi(at)huawei(dot)com>
To: "'Alvaro Herrera'" <alvherre(at)2ndquadrant(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backend process is still runs even postmaster got killed
Date: 2012-12-07 14:34:49
Message-ID: 002601cdd488$03dcb890$0b9629b0$@kommi@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 7, 2012 at 10:21 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
>>Hari Babu wrote:
>> Backend processes are still running even if the postmaster got killed and
>> all other server processes are exited by checking the
>>
>> Postmaster status.

>What server version?

I had tested it in 9.3 devel and 9.2 as well.
I tested as follows.

./pg_ctl -D data start
./psql postgres

In another terminal kill the postmaster with kill -9 PID.
Now start using the psql which is already connected, it can execute all
queries.
And check the server processes (ps -elf | grep postgres) only backend
process will remain.

I know postmaster crash is a very rare scenario, If backend continuously
providing the service,
I want to know what are all the problems can occur?

Regards,
Hari babu.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message wd 2012-12-07 15:02:33 How to find which query a waiting query waiting for?
Previous Message Igor Neyman 2012-12-07 14:29:26 Re: unlooged tables