HAProxy doesn't seem to keep the connections to the servers balanced.
Keep this in mind:
- using HAProxy v1.3.26
- 5 equally balanced server specs
- algorithm is round robin, but no weights are applied for each server
- global max connections set in haproxy to be 80,000
As seen in the picture, servers C and D seem to be getting way more connections than the other ones. Due to this extra load, they keep going down and get rebooted automatically.
I tried reading the HAproxy official docs and did some Googling but didn't find anything useful. Hopefully someone here can help.
A couple of questions:
Why is this when the config says to use roundrobin, server specs are the same, and no weights are applied?
What determines the "max" sub-column in the "Sessions" column (the one that says 1970, 1444, etc.). Servers C, D, E are in the 3K range and the other 2 are little under 2K. Why the difference?
How to keep it all balanced?
Can someone explain each column? I'm surprised that the official doc of HAproxy doesn't really explain it.