comparison xml/en/docs/dev/development_guide.xml @ 1981:082724c57c38

Fixes in cycle section of the development guide. Field descriptions are improved and misspelled literal names are fixed.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 27 Apr 2017 18:11:49 +0300
parents 5718cf42be55
children 28ee7ab54a90
comparison
equal deleted inserted replaced
1980:5718cf42be55 1981:082724c57c38
1847 <literal>new_log</literal> — cycle log, created by the configuration. 1847 <literal>new_log</literal> — cycle log, created by the configuration.
1848 It's affected by the root scope <literal>error_log</literal> directive 1848 It's affected by the root scope <literal>error_log</literal> directive
1849 </listitem> 1849 </listitem>
1850 1850
1851 <listitem> 1851 <listitem>
1852 <literal>connections</literal>, <literal>connections_n</literal> — per-worker 1852 <literal>connections</literal>, <literal>connection_n</literal> —
1853 array of connections of type <literal>ngx_connection_t</literal>, created by 1853 array of connections of type <literal>ngx_connection_t</literal>, created by
1854 the event module while initializing each nginx worker. 1854 the event module while initializing each nginx worker.
1855 The number of connections is set by the <literal>worker_connections</literal> 1855 The number of connections <literal>connection_n</literal> is set by the
1856 directive 1856 <literal>worker_connections</literal> directive
1857 </listitem> 1857 </listitem>
1858 1858
1859 <listitem> 1859 <listitem>
1860 <literal>free_connections</literal>, 1860 <literal>free_connections</literal>,
1861 <literal>free_connections_n</literal> — the array of currently available 1861 <literal>free_connection_n</literal> — list and number of currently available
1862 connections. 1862 connections.
1863 If no connections are available, nginx worker refuses to accept new clients 1863 If no connections are available, nginx worker refuses to accept new clients or
1864 connect to upstream servers
1864 </listitem> 1865 </listitem>
1865 1866
1866 <listitem> 1867 <listitem>
1867 <literal>files</literal>, <literal>files_n</literal> — array for mapping file 1868 <literal>files</literal>, <literal>files_n</literal> — array for mapping file
1868 descriptors to nginx connections. 1869 descriptors to nginx connections.