Help - Search - Members - Calendar
Full Version: Uneven "balancing" of load
The Planet Forums > System Administration > Load Balancing
ebynum
I have a pair of load balanced servers. They each read from a MySQL database that is dual-master replicated (replication goes both ways). While sorting out some problems with the replication, Apache was shut down (intentionally) on one of the servers, so all of the load was being sent to the other server.

After sorting out the replication issues, I restarted apache on the server where it had been shut down, and I expected the load balancer to re-balance the load across the 2 servers. Instead, the server that had been down for quite some time now is taking about 80% of the load, with the other server taking only 20%.

Does anybody have any idea why the balancer would be weighting the load so skewed?
alex.davies
QUOTE
Originally posted by ebynum
Does anybody have any idea why the balancer would be weighting the load so skewed?

Submit a trouble ticket with some statistics to back it up and ask EV1 to investigate. If both servers are up they should both get 50% of the connections, which should result in 50% of the hits (approx).

Clearly the total for the month will not be 50:50 if you had downtime on one server!

Alex
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.