Reg. automatic failover

ESWAR RAO eswar7028 at
Tue Apr 9 12:35:45 UTC 2013

Hi All,

I observed that automatic failover behaviour is not working with my nginx
# /opt/nginx/sbin/nginx -v
nginx version: nginx/1.2.8

nginx server is running with following conf:

upstream lb_get  {
      server localhost:8031 ;
      server localhost:8032 ;
server {
         listen       8081;
location / {
 proxy_pass  http://lb_get;

I have two servers running as:
$ nc -kl 8031    $ nc -kl 8032

>From another machine:
# curl  ''

$ nc -kl 8031
GET / HTTP/1.0
Connection: close
User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1
zlib/ libidn/1.23 librtmp/2.3
Accept: */*

But if I kill this server the curl client is also getting killed and its
not getting transferred to other server listening at 8032.

Can anyone provide me some insight on this issue.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list