Re: why not kill -9 postmaster

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: why not kill -9 postmaster
Дата
Msg-id 4538AF17.9020400@cox.net
обсуждение исходный текст
Ответ на Re: why not kill -9 postmaster  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: Re: why not kill -9 postmaster
Следующее
От: Uyelik
Дата:
Сообщение: Where is the pg_terminate_backend() function? Way to execute shell cmd