Load balancing with upstream file fail
February 15, 2011 05:33AM
I setup a Nginx server as a proxy on front-end, and configure two Apache server behind it, with the upstream configuration, it works fine.
Currently, according to the loading increased, I add a new Apache server into the group, but once I active the new Apache server, all loading will be pushed to the new Apache server, the original two servers are free, below is the upstream setting of mine.

upstream apache_ads {
server ads-del.s2.zoomino.cn:9080 weight=1;
server ads-del.s1.zoomino.cn:9080 weight=1;
#server ads-del.s5.zoomino.cn:9080 weight=1;
}

As you see, server ads-del.s5.zoomino.cn is the new one, ads-del.s2.zoomino.cn and ads-del.s1.zoomino.cn is the original ones, my Nginx server is running on server ads-del.s2.zoomino.cn, but it listens port 80.

I want to know, why are most of the load pushed to new server, but not share normally with three servers? Thanks.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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