Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
t;" mailto:nginx@nginx.org>> Date: Thursday, November 20, 2014 at 10:07 PM To: "nginx@nginx.org<mailto: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 tri

Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
"nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Date: Thursday, November 20, 2014 at 10:07 PM To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: Using both keepalive requests and timeout On Thursday 20 Novemb

Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
; mailto:nginx@nginx.org>> Date: Thursday, November 20, 2014 at 10:07 PM To: "nginx@nginx.org<mailto: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,

Re: Using both keepalive requests and timeout

2014-11-20 Thread Valentin V. Bartenev
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 clos

Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: Using both keepalive requests and timeout On Thursday 20 November 2014 16:37:31 Das, Jagannath wrote: httperf --server localhost --hog --method POST --wsess=1,102,2 --print-reply --print-request And what keepalive

Re: Using both keepalive requests and timeout

2014-11-20 Thread Valentin V. Bartenev
On Thursday 20 November 2014 16:37:31 Das, Jagannath wrote: > httperf --server localhost --hog --method POST --wsess=1,102,2 --print-reply > --print-request > And what keepalive_timeout you have specified? One second? wbr, Valentin V. Bartenev ___

Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
Thursday, November 20, 2014 at 2:55 PM To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: Using both keepalive requests and timeout On Thursday 20 November 2014 14:43:46 Das, Jagannath wrote: Hi, I tried posting data to nginx runnin

Re: Using both keepalive requests and timeout

2014-11-20 Thread Valentin V. Bartenev
On Thursday 20 November 2014 14:43:46 Das, Jagannath wrote: > Hi, > I tried posting data to nginx running on the same host as that of the > client(httperf) with keep alive_timeout set to a non-zero value and keep > alive_requests set to a non-zero value. I observed that, the server was > closi

Re: Using both keepalive requests and timeout

2014-11-20 Thread Das, Jagannath
ovember 20, 2014 at 1:56 PM To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: Using both keepalive requests and timeout On Thursday 20 November 2014 10:42:03 Das, Jagannath wrote: Hi All, I have a query, I tried setting keep alive_timeou

Re: Using both keepalive requests and timeout

2014-11-20 Thread Valentin V. Bartenev
On Thursday 20 November 2014 10:42:03 Das, Jagannath wrote: > Hi All, >I have a query, I tried setting keep alive_timeout to a non-zero value >and found it not working correctly. >Are there any related parameters for this? > What do you mean by not working correctly? What's the probl

Re: Using both keepalive requests and timeout

2014-11-19 Thread Das, Jagannath
ginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Date: Thursday, November 20, 2014 at 1:33 AM To: "nginx@nginx.org<mailto:nginx@nginx.org>" mailto:nginx@nginx.org>> Subject: Re: Using both keepalive requests and timeout On Wednesday 19 Novemb

Re: Using both keepalive requests and timeout

2014-11-19 Thread Valentin V. Bartenev
On Wednesday 19 November 2014 14:52:19 josephlim wrote: > Hi Valentin, > > Thank you for clarifying that, however now that makes me wonder about this: > if we set our timeout value to 30s and did not set our requests value, does > this mean that the default requests value of 100 restriction is imp

Re: Using both keepalive requests and timeout

2014-11-19 Thread josephlim
Hi Valentin, Thank you for clarifying that, however now that makes me wonder about this: if we set our timeout value to 30s and did not set our requests value, does this mean that the default requests value of 100 restriction is imposed or does nginx only respect the timeout value explicitly decla

Re: Using both keepalive requests and timeout

2014-11-19 Thread Valentin V. Bartenev
On Wednesday 19 November 2014 14:30:59 josephlim wrote: > Hi all, > > I was curious to see if anyone used both keepalive_requests and > keepalive_timeout at the same time and knew the expected behaviour? I was > hoping that nginx would do whichever conditions were met first. > Yes, you're right.

Using both keepalive requests and timeout

2014-11-19 Thread josephlim
Hi all, I was curious to see if anyone used both keepalive_requests and keepalive_timeout at the same time and knew the expected behaviour? I was hoping that nginx would do whichever conditions were met first. Thank you very much in advance. Posted at Nginx Forum: http://forum.nginx.org/read.ph