Mercurial > hg > nginx-site
comparison xml/en/docs/ngx_core_module.xml @ 1755:bde044a0bd90
Documented that accept_mutex is off by default.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 20 Jul 2016 15:09:42 +0300 |
parents | 147e3d0339e8 |
children | 68928f8d31d9 |
comparison
equal
deleted
inserted
replaced
1754:c6c9ed2ea7e4 | 1755:bde044a0bd90 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Core functionality" | 10 <module name="Core functionality" |
11 link="/en/docs/ngx_core_module.html" | 11 link="/en/docs/ngx_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="19"> | 13 rev="20"> |
14 | 14 |
15 <section id="example" name="Example Configuration"> | 15 <section id="example" name="Example Configuration"> |
16 | 16 |
17 <para> | 17 <para> |
18 <example> | 18 <example> |
35 | 35 |
36 <section id="directives" name="Directives"> | 36 <section id="directives" name="Directives"> |
37 | 37 |
38 <directive name="accept_mutex"> | 38 <directive name="accept_mutex"> |
39 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 39 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
40 <default>on</default> | 40 <default>off</default> |
41 <context>events</context> | 41 <context>events</context> |
42 | 42 |
43 <para> | 43 <para> |
44 If <literal>accept_mutex</literal> is enabled, | 44 If <literal>accept_mutex</literal> is enabled, |
45 worker processes will accept new connections by turn. | 45 worker processes will accept new connections by turn. |
46 Otherwise, all worker processes will be notified about new connections, | 46 Otherwise, all worker processes will be notified about new connections, |
47 and if volume of new connections is low, some of the worker processes | 47 and if volume of new connections is low, some of the worker processes |
48 may just waste system resources. | 48 may just waste system resources. |
49 <note> | |
50 Prior to version 1.11.3, the default value was <literal>on</literal>. | |
51 </note> | |
49 </para> | 52 </para> |
50 | 53 |
51 </directive> | 54 </directive> |
52 | 55 |
53 | 56 |