Welcome! Log In Create A New Profile

Advanced

Nginx as loadbalancer (Round Robin)

Posted by nginx_user_dk 
Nginx as loadbalancer (Round Robin)
July 12, 2011 02:59AM
Hi all

I have a strange problem with Nginx.

As long as I only have 2 frontend nodes all is fine and Nginx will toggle between the 2. If I decide to add another node then the toggling stops and only 1 node is hit and used. From the loadbalancer node I can curl (192.xxx.xxx.xxx:80) the local private IPs of the frontend nodes so they are reachable. I can also ping them.

I have a db lookup and I can see data returned is new so no caching - Nginx is just not doing the Round Robin logic. Am I missing something in nginx.conf?

Anyone who knows why Nginx behaves like this?
Re: Nginx as loadbalancer (Round Robin)
July 28, 2011 06:48AM
how i can make loadbalance
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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