Re: why not kill -9 postmaster

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: why not kill -9 postmaster
Date: 2006-10-20 11:12:23
Message-ID: 4538AF17.9020400@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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-----

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uyelik 2006-10-20 11:59:37 Where is the pg_terminate_backend() function? Way to execute shell cmd
Previous Message Andreas Seltenreich 2006-10-20 10:27:38 Re: why not kill -9 postmaster