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

From Ron Johnson
Subject Re: why not kill -9 postmaster
Date
Msg-id 4538AF17.9020400@cox.net
Whole thread Raw
In response to Re: why not kill -9 postmaster  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
Responses Re: why not kill -9 postmaster  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
Re: why not kill -9 postmaster  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/20/06 05:27, Andreas Seltenreich wrote:
> 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.
> `----

But it can't be fatal, can it?  After all, that's what a system
crash is, right?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFOK8XS9HxQb37XmcRAsUMAKCptETkgCvdbhaxyvqhCryYAo3GtgCfUmqt
J41C6cs+rk7+h993Qh0pUMI=
=OJsz
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: Andreas Seltenreich
Date:
Subject: Re: why not kill -9 postmaster
Next
From: Uyelik
Date:
Subject: Where is the pg_terminate_backend() function? Way to execute shell cmd