Welcome! Log In Create A New Profile

Advanced

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

Jonathan Geyser
January 12, 2017 02:26PM
Richard,

On further investigation -- it looks like the client was closing the
front-end connection. I need the back-end socket to remain open regardless
of what the front-end is doing. Is there a way to accomplish this?

Thanks in advance,
Jonathan

On Tue, Jan 10, 2017 at 2:26 PM, Richard Stanway <r1ch+nginx@teamliquid.net>
wrote:

> The FIN ACK suggests that the other side is responsible for closing the
> connection. If nginx was terminating the connection, there would be no ACK
> bit set. Check your upstream server supports keepalive.
>
> On Tue, Jan 10, 2017 at 10:55 PM, Jonathan Geyser <jtgeyser@gmail.com>
> wrote:
>
>> Hi guys,
>>
>> I'm attempting to have multiple requests to a backend reuse the same TCP
>> session as to avoid handshaking for each subsequent request. Nginx appears
>> to send FIN ACK to the backend after every request.
>>
>> Am I doing something wrong?
>>
>> Here is the current configuration: https://paste.ngx.cc/6c24411681f24790
>>
>>
>> Thanks in advance,
>> Jonathan
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx not honoring keepalive / multiple requests to http backend over single TCP session

Jonathan Geyser January 10, 2017 04:58PM

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

Richard Stanway January 10, 2017 05:28PM

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

Jonathan Geyser January 12, 2017 02:26PM

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

steveh January 12, 2017 06:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 223
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