Mercurial > hg > nginx-site
changeset 2450:a26a42699207
Added note about max number of keepalive requests.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 24 Oct 2019 21:47:42 +0300 |
parents | 384211f17f5a |
children | 721f78cff4ef |
files | xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/http/ngx_http_upstream_module.xml xml/en/docs/http/ngx_http_v2_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_v2_module.xml |
diffstat | 6 files changed, 48 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="85"> + rev="86"> <section id="directives" name="Directives"> @@ -925,6 +925,13 @@ served through one keep-alive connection After the maximum number of requests are made, the connection is closed. </para> +<para> +Closing connections periodically is necessary to free +per-connection memory allocations. +Therefore, using too high maximum number of requests +could result in excessive memory usage and not recommended. +</para> + </directive>
--- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_upstream_module" link="/en/docs/http/ngx_http_upstream_module.html" lang="en" - rev="81"> + rev="82"> <section id="summary"> @@ -660,6 +660,13 @@ served through one keepalive connection. After the maximum number of requests is made, the connection is closed. </para> +<para> +Closing connections periodically is necessary to free +per-connection memory allocations. +Therefore, using too high maximum number of requests +could result in excessive memory usage and not recommended. +</para> + </directive>
--- a/xml/en/docs/http/ngx_http_v2_module.xml +++ b/xml/en/docs/http/ngx_http_v2_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_http_v2_module" link="/en/docs/http/ngx_http_v2_module.html" lang="en" - rev="11"> + rev="12"> <section id="summary"> @@ -205,6 +205,13 @@ after which the next client request will and the need of establishing a new connection. </para> +<para> +Closing connections periodically is necessary to free +per-connection memory allocations. +Therefore, using too high maximum number of requests +could result in excessive memory usage and not recommended. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="85"> + rev="86"> <section id="directives" name="Директивы"> @@ -920,6 +920,13 @@ location = /404.html { соединение закрывается. </para> +<para> +Периодическое закрытие соединений необходимо для освобождения +памяти, выделенной под конкретные соединения. +Поэтому использование слишком большого максимального числа запросов +может приводить к чрезмерному потреблению памяти и не рекомендуется. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_upstream_module" link="/ru/docs/http/ngx_http_upstream_module.html" lang="ru" - rev="81"> + rev="82"> <section id="summary"> @@ -669,6 +669,13 @@ server { соединение закрывается. </para> +<para> +Периодическое закрытие соединений необходимо для освобождения +памяти, выделенной под конкретные соединения. +Поэтому использование слишком большого максимального числа запросов +может приводить к чрезмерному потреблению памяти и не рекомендуется. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_v2_module.xml +++ b/xml/ru/docs/http/ngx_http_v2_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_v2_module" link="/ru/docs/http/ngx_http_v2_module.html" lang="ru" - rev="11"> + rev="12"> <section id="summary"> @@ -205,6 +205,13 @@ server { и необходимости установить новое соединение. </para> +<para> +Периодическое закрытие соединений необходимо для освобождения +памяти, выделенной под конкретные соединения. +Поэтому использование слишком большого максимального числа запросов +может приводить к чрезмерному потреблению памяти и не рекомендуется. +</para> + </directive>