Mercurial > hg > nginx-site
changeset 842:c9a425a3e4f5
Controlling nginx: be more precise about killing processes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 12 Feb 2013 18:43:52 +0400 |
parents | 73f1827f0f68 |
children | f939186d1651 |
files | xml/en/docs/control.xml xml/ru/docs/control.xml |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/control.xml Tue Feb 12 17:48:46 2013 +0400 +++ b/xml/en/docs/control.xml Tue Feb 12 18:43:52 2013 +0400 @@ -8,7 +8,7 @@ <article name="Controlling nginx" link="/en/docs/control.html" lang="en" - rev="3"> + rev="4"> <section> @@ -231,8 +231,8 @@ Send the TERM signal to the new master process. It will then send a message to its worker processes requesting them to exit immediately, and they will all exit almost immediately. -If the new worker processes do not exit for some reason, -the KILL signal should be sent to them. +(If new processes do not exit for some reason, +the KILL signal should be sent to them to force them to exit.) When the new master process exits, the old master process will start new worker processes automatically. </para>
--- a/xml/ru/docs/control.xml Tue Feb 12 17:48:46 2013 +0400 +++ b/xml/ru/docs/control.xml Tue Feb 12 18:43:52 2013 +0400 @@ -8,7 +8,7 @@ <article name="Управление nginx" link="/ru/docs/control.html" lang="ru" - rev="3"> + rev="4"> <section> @@ -222,8 +222,8 @@ Послать новому главному процессу сигнал TERM. В ответ на это он пошлёт сообщение о немедленном выходе своим рабочим процессам, и все они практически сразу же завершатся. -Если новые рабочие процессы по каким-то причинам не завершаются, -нужно послать им сигнал KILL. +(Если новые процессы по каким-то причинам не завершаются, +нужно послать им сигнал KILL, который заставит их завершиться.) По завершению нового главного процесса старый главный процесс автоматически запустит новые рабочие процессы. </para>