Welcome! Log In Create A New Profile

Advanced

Re: Using both keepalive requests and timeout

Das, Jagannath
November 20, 2014 10:22PM
It was new learning for me that keep alive_timeout is a time set for inactivity. May be we should add that in the nginx.org wiki page.

This will actually relief a lot of people. :)

From: "Valentin V. Bartenev" <vbart@nginx.com<mailto:vbart@nginx.com>>
Organization: NGINX, Inc.
Reply-To: "nginx@nginx.org<mailto:nginx@nginx.org>" <nginx@nginx.org<mailto:nginx@nginx.org>>
Date: Thursday, November 20, 2014 at 10:07 PM
To: "nginx@nginx.org<mailto:nginx@nginx.org>" <nginx@nginx.org<mailto:nginx@nginx.org>>
Subject: Re: Using both keepalive requests and timeout

On Thursday 20 November 2014 20:40:30 Das, Jagannath wrote:
I tried with 10s, 30s, 40s .

But you have set 2s timeout between requests in httperf,
so how do you expect it to work?

It's a timeout for inactive keep-alive connection.

If you set keepalive_timeout 10s; then a connection
will be closed after 10 seconds of inactivity, but
httperf with the --wsess=1,102,2 parameters sends
new requests every 2 seconds.

See also: http://tools.ietf.org/html/rfc7230#section-6.5

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org<mailto: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

Using both keepalive requests and timeout

josephlim November 19, 2014 02:30PM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 19, 2014 02:44PM

Re: Using both keepalive requests and timeout

josephlim November 19, 2014 02:52PM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 19, 2014 03:04PM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 12:14AM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 20, 2014 03:28AM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 04:16AM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 20, 2014 04:26AM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 06:08AM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 20, 2014 07:28AM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 10:12AM

Re: Using both keepalive requests and timeout

Valentin V. Bartenev November 20, 2014 11:38AM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 10:20PM

Re: Using both keepalive requests and timeout

Das, Jagannath November 20, 2014 10:22PM

Re: Using both keepalive requests and timeout

Das, Jagannath November 21, 2014 01:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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