summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2020-08-10 18:53:07 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2020-08-10 18:53:07 +0300
commit348bc94086d94f27dbda5904174cd379bce7f931 (patch)
tree0f98aca3b52975360b55577d979f55c1de4c6de6 /docs
parente240d88d4497afd2493358e938f74486750bc776 (diff)
downloadnginx-348bc94086d94f27dbda5904174cd379bce7f931.tar.gz
Core: reusing connections in advance.
Reworked connections reuse, so closing connections is attempted in advance, as long as number of free connections is less than 1/16 of worker connections configured. This ensures that new connections can be handled even if closing a reusable connection requires some time, for example, for a lingering close (ticket #2017). The 1/16 ratio is selected to be smaller than 1/8 used for disabling accept when working with accept mutex, so nginx will try to balance new connections to different workers first, and will start reusing connections only if this won't help.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions