comparison xml/en/docs/ngx_core_module.xml @ 1784:68928f8d31d9

Updated accept_mutex with info about reuseport and epollexclusive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 15 Aug 2016 22:06:27 +0300
parents bde044a0bd90
children 3ed02f21146b
comparison
equal deleted inserted replaced
1783:031566771bbd 1784:68928f8d31d9
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="20"> 13 rev="21">
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>
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 There is no need to enable <literal>accept_mutex</literal>
51 on systems that support the
52 <link doc="events.xml" id="epoll">EPOLLEXCLUSIVE</link> flag (1.11.3) or
53 when using <link doc="http/ngx_http_core_module.xml" id="reuseport"/>.
54 </note>
49 <note> 55 <note>
50 Prior to version 1.11.3, the default value was <literal>on</literal>. 56 Prior to version 1.11.3, the default value was <literal>on</literal>.
51 </note> 57 </note>
52 </para> 58 </para>
53 59