Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_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 | e642fe346261 |
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_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="86"> | 13 rev="87"> |
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 |
637 </directive> | 637 </directive> |
638 | 638 |
639 | 639 |
640 <directive name="keepalive_requests"> | 640 <directive name="keepalive_requests"> |
641 <syntax><value>number</value></syntax> | 641 <syntax><value>number</value></syntax> |
642 <default>100</default> | 642 <default>1000</default> |
643 <context>upstream</context> | 643 <context>upstream</context> |
644 <appeared-in>1.15.3</appeared-in> | 644 <appeared-in>1.15.3</appeared-in> |
645 | 645 |
646 <para> | 646 <para> |
647 Sets the maximum number of requests that can be | 647 Sets the maximum number of requests that can be |
652 <para> | 652 <para> |
653 Closing connections periodically is necessary to free | 653 Closing connections periodically is necessary to free |
654 per-connection memory allocations. | 654 per-connection memory allocations. |
655 Therefore, using too high maximum number of requests | 655 Therefore, using too high maximum number of requests |
656 could result in excessive memory usage and not recommended. | 656 could result in excessive memory usage and not recommended. |
657 </para> | |
658 | |
659 <para> | |
660 <note> | |
661 Prior to version 1.19.10, the default value was 100. | |
662 </note> | |
657 </para> | 663 </para> |
658 | 664 |
659 </directive> | 665 </directive> |
660 | 666 |
661 | 667 |