Welcome! Log In Create A New Profile

Advanced

Re: How to control keepalive connections for upstream before the version of 1.15.3

Maxim Dounin
February 25, 2019 07:24AM
Hello!

On Mon, Feb 25, 2019 at 03:45:27PM +0800, yf chu wrote:

> The Nginx document said that there are two upstream-related
> directives introduced in the version of 1.15.3:
> "keepalive_requests" and "keepalive_timeout". But the directive
> "keepalive" has already been instroduced in the version of
> 1.1.4. So I want to know how does Nginx handle the keepalive
> connections for upstream before the version 1.15.3 was released.
> When will the keepalive connections for upstream be closed?

Before the introduction of "keepalive_requests" and
"keepalive_timeout" directives in 1.15.3, upstream connections
were simply kept open by nginx, regardless of the number of
requests made in these connections, or the time these connections
were idle. Connections were closed when the upstream server
decided to close them, or when a connection was evicted from the
cache by other connections.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to control keepalive connections for upstream before the version of 1.15.3

yf chu February 25, 2019 03:04AM

Re: How to control keepalive connections for upstream before the version of 1.15.3

Maxim Dounin February 25, 2019 07:24AM

Re:Re: How to control keepalive connections for upstream before the version of 1.15.3

yf chu February 25, 2019 08:48AM

Re: Re: How to control keepalive connections for upstream before the version of 1.15.3

Maxim Dounin February 25, 2019 09:44AM

Re: Re: How to control keepalive connections for upstream before the version of 1.15.3

wu560130911 November 19, 2019 09:48PM

Re: Re: How to control keepalive connections for upstream before the version of 1.15.3

Francis Daly November 20, 2019 03:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready