Welcome! Log In Create A New Profile

Advanced

NGINX timeout issue

Shankar Dagadu Borate
December 03, 2013 04:48AM
Hi all,
We are using nginx as proxy server in all our production deployment. The nginx server proxy the http request to Amazon ELB (elastic load balancer) using upstream module. Currently we are seeing timeout issues in NGINX because NGINX caches the IP address on start. Now when there is change in IP address of ELB, NGINX doesn't updates it's IP and still point to old IP. We went through many post on internet and tried setting resolver to AWS DNS server, resolver timeout to 20s, valids to 30 sec. defining variable instead of direct name in proxy pass, request URL in proxy pass but nothing has worked for us. NGINX is not honoring the resolver and corresponding TTL settings.
Some of the blogs also says that they have tried similar things and nothing works for them. IT looks to me like this is bug in NGINX and will be resolved only by changing the source.
Has anybody found solution to this problem? If yes, please let us know your configurations.
Only solution I have right now is write some script and restart the server when timeout occurs. But this is not ideal solution.
I am seriously thinking of moving to Apache Http server if this problem doesn't get resolved.

Regards,
Shankar
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX timeout issue

Shankar Dagadu Borate December 03, 2013 04:48AM

Re: NGINX timeout issue

nginxorg December 03, 2013 05:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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