comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1800:9d722e4153ab

Documented the "max_conns" parameter as opensource.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 28 Sep 2016 20:25:42 +0300
parents 031566771bbd
children 592f9fa804f6
comparison
equal deleted inserted replaced
1799:386a9a8a7ddc 1800:9d722e4153ab
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_upstream_module" 10 <module name="Module ngx_http_upstream_module"
11 link="/en/docs/http/ngx_http_upstream_module.html" 11 link="/en/docs/http/ngx_http_upstream_module.html"
12 lang="en" 12 lang="en"
13 rev="49"> 13 rev="50">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_upstream_module</literal> module 18 The <literal>ngx_http_upstream_module</literal> module
146 <tag-name id="weight"> 146 <tag-name id="weight">
147 <literal>weight</literal>=<value>number</value> 147 <literal>weight</literal>=<value>number</value>
148 </tag-name> 148 </tag-name>
149 <tag-desc> 149 <tag-desc>
150 sets the weight of the server, by default, 1. 150 sets the weight of the server, by default, 1.
151 </tag-desc>
152
153 <tag-name id="max_conns">
154 <literal>max_conns</literal>=<value>number</value>
155 </tag-name>
156 <tag-desc>
157 limits the maximum <value>number</value> of simultaneous active
158 connections to the proxied server (1.11.5).
159 Default value is zero, meaning there is no limit.
160 <note>
161 When <link id="keepalive"/> connections and multiple
162 <link doc="../ngx_core_module.xml" id="worker_processes">workers</link>
163 are enabled,
164 the total number of connections to the proxied server
165 may exceed the <literal>max_conns</literal> value.
166 </note>
167 <note>
168 Since version 1.5.9 and prior to version 1.11.5,
169 this parameter was available as part of our
170 <commercial_version>commercial subscription</commercial_version>.
171 </note>
151 </tag-desc> 172 </tag-desc>
152 173
153 <tag-name id="max_fails"> 174 <tag-name id="max_fails">
154 <literal>max_fails</literal>=<value>number</value> 175 <literal>max_fails</literal>=<value>number</value>
155 </tag-name> 176 </tag-name>
210 <para> 231 <para>
211 Additionally, 232 Additionally,
212 the following parameters are available as part of our 233 the following parameters are available as part of our
213 <commercial_version>commercial subscription</commercial_version>: 234 <commercial_version>commercial subscription</commercial_version>:
214 <list type="tag"> 235 <list type="tag">
215
216 <tag-name id="max_conns">
217 <literal>max_conns</literal>=<value>number</value>
218 </tag-name>
219 <tag-desc>
220 limits the maximum <value>number</value> of simultaneous active
221 connections to the proxied server (1.5.9).
222 Default value is zero, meaning there is no limit.
223 <note>
224 When <link id="keepalive"/> connections and multiple
225 <link doc="../ngx_core_module.xml" id="worker_processes">workers</link>
226 are enabled,
227 the total number of connections to the proxied server
228 may exceed the <literal>max_conns</literal> value.
229 </note>
230 </tag-desc>
231 236
232 <tag-name id="resolve"> 237 <tag-name id="resolve">
233 <literal>resolve</literal> 238 <literal>resolve</literal>
234 </tag-name> 239 </tag-name>
235 <tag-desc> 240 <tag-desc>