Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 654:841118e33f41
Refined the text about cache of connections to upstream servers.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 25 Aug 2012 07:24:53 +0000 |
parents | 764fbac1b8b4 |
children | f62328124e5b |
comparison
equal
deleted
inserted
replaced
653:703d981c8e12 | 654:841118e33f41 |
---|---|
241 Activates cache of connections to upstream servers. | 241 Activates cache of connections to upstream servers. |
242 </para> | 242 </para> |
243 | 243 |
244 <para> | 244 <para> |
245 The <value>connections</value> parameter sets the maximum number of | 245 The <value>connections</value> parameter sets the maximum number of |
246 keepalive connections to upstream servers that are retained in | 246 idle keepalive connections to upstream servers that are retained in |
247 the cache per one worker process. | 247 the cache per one worker process. |
248 If there are more idle connections to retain to an upstream than | 248 When this number is exceeded, the least recently used connections |
249 are specified by this number, the least recently used ones will | 249 are closed. |
250 be closed. | 250 <note> |
251 <note> | 251 It should be particularly noted that <literal>keepalive</literal> directive |
252 It should be noted that <literal>keepalive</literal> directive | 252 does not limit the total number of connections that nginx worker process |
253 does not limit the total number of connections that nginx worker | 253 can open to upstream servers. |
254 process can open to upstream servers. | |
255 The new connections are always created on demand. | |
256 The <value>connections</value> parameter should be set low enough | 254 The <value>connections</value> parameter should be set low enough |
257 to allow upstream servers to process additional new incoming | 255 to allow upstream servers to process additional new incoming |
258 connections as well. | 256 connections as well. |
259 </note> | 257 </note> |
260 </para> | 258 </para> |