Commit a806b14a authored by Noah Misch's avatar Noah Misch

Update documentation about SIGKILL of postmaster.

Removing shared memory and semaphores in response to server start
failure often masks the real problem, a live process associated with the
data directory; see commit 5a907404.
Since 9.6, it's rarely necessary to kill subprocesses manually.  (When
it is necessary, that commit's HINT will say as much, in all supported
versions.)
parent f2c71cb7
...@@ -1685,14 +1685,12 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput ...@@ -1685,14 +1685,12 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput
<important> <important>
<para> <para>
It is best not to use <systemitem>SIGKILL</systemitem> to shut down It is best not to use <systemitem>SIGKILL</systemitem> to shut down the
the server. Doing so will prevent the server from releasing server. Doing so will prevent the server from releasing shared memory and
shared memory and semaphores, which might then have to be done semaphores. Furthermore, <systemitem>SIGKILL</systemitem> kills
manually before a new server can be started. Furthermore, the <command>postgres</command> process without letting it relay the
<systemitem>SIGKILL</systemitem> kills the <command>postgres</command> signal to its subprocesses, so it might be necessary to kill the
process without letting it relay the signal to its subprocesses, individual subprocesses by hand as well.
so it will be necessary to kill the individual subprocesses by hand as
well.
</para> </para>
</important> </important>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment