Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml Thu Aug 23 12:15:29 2012 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Sat Aug 25 07:24:53 2012 +0000 @@ -243,16 +243,14 @@ <para> The <value>connections</value> parameter sets the maximum number of -keepalive connections to upstream servers that are retained in +idle keepalive connections to upstream servers that are retained in the cache per one worker process. -If there are more idle connections to retain to an upstream than -are specified by this number, the least recently used ones will -be closed. +When this number is exceeded, the least recently used connections +are closed. <note> -It should be noted that <literal>keepalive</literal> directive -does not limit the total number of connections that nginx worker -process can open to upstream servers. -The new connections are always created on demand. +It should be particularly noted that <literal>keepalive</literal> directive +does not limit the total number of connections that nginx worker process +can open to upstream servers. The <value>connections</value> parameter should be set low enough to allow upstream servers to process additional new incoming connections as well.