Re: why not kill -9 postmaster - Mailing list pgsql-general

From Andreas Seltenreich
Subject Re: why not kill -9 postmaster
Date
Msg-id 87ejt346zp.fsf@gate450.dyndns.org
Whole thread Raw
In response to why not kill -9 postmaster  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Responses Re: why not kill -9 postmaster
List pgsql-general
Harpreet Dhaliwal writes:

> Its always said that don't kill -9 postmaster.
> Whats the reason not to do it. Why is it so strictly  prohibited?

,----[ <http://www.postgresql.org/docs/8.1/static/postmaster-shutdown.html#AEN18182> ]
| It is best not to use SIGKILL to shut down the server. Doing so will
| prevent the server from releasing shared memory and semaphores,
| which may then have to be done manually before a new server can be
| started. Furthermore, SIGKILL kills the postmaster process without
| letting it relay the signal to its subprocesses, so it will be
| necessary to kill the individual subprocesses by hand as well.
`----

regards,
andreas

pgsql-general by date:

Previous
From: "Ilja Golshtein"
Date:
Subject: Performance: fsync vs. commit delay
Next
From: Ron Johnson
Date:
Subject: Re: why not kill -9 postmaster