KeepAlive Not Working as expected for a Reverse Proxy Scenario
Valentin V. Bartenev
ne at vbart.ru
Wed Apr 11 11:04:39 UTC 2012
On Wednesday 11 April 2012 09:40:18 Rajnesh Kumar Siwal wrote:
> Thanks Valentin, but it still is not accepting the parameters:-
>
> [root at api1.nos2 conf]# /etc/init.d/nginxfromsrc start
> Starting nginx: nginx: [emerg] invalid parameter "so_keepalive=2h:1m:10" in
> /usr/local/nginx-1.0.14/conf/nginx.conf:
> 96
It's no coincidence I asked to take a look at the documentation, you also
need nginx 1.1.11 or above.
> Secondly, I don't see the message that the client is terminating the
> connections.
What's in the error logs?
> In case I use elinks to open the URL and close it, it displays me that the
> KeepAlive connection is terminated by the client.
> So, I am pretty sure that the connections are not terminated by the client.
>
> Additionally, we are using CURL library to check it.
> We have a simulator that create the connections and sends data using CURL
> library.
> The same scenario is working fine with Apache and the connections are
> persistent.
Could you provide debug log?
http://nginx.org/en/docs/debugging_log.html
wbr, Valentin V. Bartenev
More information about the nginx
mailing list