Maxim Dounin
February 25, 2015 09:42AM
Hello!

On Mon, Feb 23, 2015 at 07:27:25AM -0500, Gona wrote:

> Hi Maxim,
>
> If possible I would like to use a keep-alive connection timeout less than
> that of the backend servers to avoid premature connection close by backend
> server. As mentioned before, I am trying to avoid other options like
> rerouting using proxy_next_upstream or retrying by downstream client.
>
> Is there a way to set a timeout on keep-alive connections to backend
> servers? Or even force close or invalidate the connection cache from code?

As of now, there is no such option. If the problem you are trying
to solve is practical, it would be mostly trivial to add one.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Upstream Keepalive connection close

Gona January 06, 2015 06:06AM

Re: Upstream Keepalive connection close

Maxim Dounin January 12, 2015 09:40AM

Re: Upstream Keepalive connection close

Gona January 15, 2015 10:53AM

Re: Upstream Keepalive connection close

Maxim Dounin January 15, 2015 12:08PM

Re: Upstream Keepalive connection close

Gona February 23, 2015 07:27AM

Re: Upstream Keepalive connection close

Maxim Dounin February 25, 2015 09:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready