comparison xml/en/docs/control.xml @ 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 d1b5814e5265
children 621d5dfcb4f4
comparison
equal deleted inserted replaced
841:73f1827f0f68 842:c9a425a3e4f5
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
7 7
8 <article name="Controlling nginx" 8 <article name="Controlling nginx"
9 link="/en/docs/control.html" 9 link="/en/docs/control.html"
10 lang="en" 10 lang="en"
11 rev="3"> 11 rev="4">
12 12
13 <section> 13 <section>
14 14
15 <para> 15 <para>
16 nginx can be controlled with signals. 16 nginx can be controlled with signals.
229 <listitem> 229 <listitem>
230 <para> 230 <para>
231 Send the TERM signal to the new master process. 231 Send the TERM signal to the new master process.
232 It will then send a message to its worker processes requesting them 232 It will then send a message to its worker processes requesting them
233 to exit immediately, and they will all exit almost immediately. 233 to exit immediately, and they will all exit almost immediately.
234 If the new worker processes do not exit for some reason, 234 (If new processes do not exit for some reason,
235 the KILL signal should be sent to them. 235 the KILL signal should be sent to them to force them to exit.)
236 When the new master process exits, the old master process will start new 236 When the new master process exits, the old master process will start new
237 worker processes automatically. 237 worker processes automatically.
238 </para> 238 </para>
239 </listitem> 239 </listitem>
240 240