Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 2706:4f44386a16b1
Changed default value of keepalive_requests.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Apr 2021 15:06:13 +0100 |
parents | 06805824d0f0 |
children | c1d62e514b3c |
comparison
equal
deleted
inserted
replaced
2705:06805824d0f0 | 2706:4f44386a16b1 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="94"> | 13 rev="95"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="absolute_redirect"> | 17 <directive name="absolute_redirect"> |
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 18 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
926 </directive> | 926 </directive> |
927 | 927 |
928 | 928 |
929 <directive name="keepalive_requests"> | 929 <directive name="keepalive_requests"> |
930 <syntax><value>number</value></syntax> | 930 <syntax><value>number</value></syntax> |
931 <default>100</default> | 931 <default>1000</default> |
932 <context>http</context> | 932 <context>http</context> |
933 <context>server</context> | 933 <context>server</context> |
934 <context>location</context> | 934 <context>location</context> |
935 <appeared-in>0.8.0</appeared-in> | 935 <appeared-in>0.8.0</appeared-in> |
936 | 936 |
943 <para> | 943 <para> |
944 Closing connections periodically is necessary to free | 944 Closing connections periodically is necessary to free |
945 per-connection memory allocations. | 945 per-connection memory allocations. |
946 Therefore, using too high maximum number of requests | 946 Therefore, using too high maximum number of requests |
947 could result in excessive memory usage and not recommended. | 947 could result in excessive memory usage and not recommended. |
948 </para> | |
949 | |
950 <para> | |
951 <note> | |
952 Prior to version 1.19.10, the default value was 100. | |
953 </note> | |
948 </para> | 954 </para> |
949 | 955 |
950 </directive> | 956 </directive> |
951 | 957 |
952 | 958 |