comparison xml/en/docs/control.xml @ 1465:eea7541e7c6a

Removed "rtsig" and "worker_rlimit_sigpending".
author Ruslan Ermilov <ru@nginx.com>
date Thu, 23 Apr 2015 14:33:10 +0300
parents 621d5dfcb4f4
children a90594ae6686
comparison
equal deleted inserted replaced
1464:d5c66374dc02 1465:eea7541e7c6a
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="5"> 11 rev="6">
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.
187 36267 36264 nobody 0.0 1364 kqread nginx: worker process (nginx) 187 36267 36264 nobody 0.0 1364 kqread nginx: worker process (nginx)
188 </programlisting> 188 </programlisting>
189 </para> 189 </para>
190 190
191 <para> 191 <para>
192 <note>
193 When using the “rtsig” method on Linux, the new processes may not accept
194 connections even after the old master process was sent the WINCH signal.
195 If that is the case, the USR1 signal should be sent to the new master
196 process continuously, until the new processes start to accept connections.
197 </note>
198 </para>
199
200 <para>
201 After some time, only the new worker processes will process requests: 192 After some time, only the new worker processes will process requests:
202 <programlisting> 193 <programlisting>
203 PID PPID USER %CPU VSZ WCHAN COMMAND 194 PID PPID USER %CPU VSZ WCHAN COMMAND
204 33126 1 root 0.0 1164 pause nginx: master process /usr/local/nginx/sbin/nginx 195 33126 1 root 0.0 1164 pause nginx: master process /usr/local/nginx/sbin/nginx
205 36264 33126 root 0.0 1148 pause nginx: master process /usr/local/nginx/sbin/nginx 196 36264 33126 root 0.0 1148 pause nginx: master process /usr/local/nginx/sbin/nginx