Forum

ConnectionsTotal / HAProxy?

Aquanet
13 January 2013, 16:46
Hello Hugo,

Wondering what happens if "ConnectionsTotal" is reached, server stops responding to new ones...

But on a busy webserver, it is difficult to know when there are traffic spikes and you don't know how many connections maximum to set.

What is the best way to handle this, is it ok to set ConnectionsTotal = 100 000, for example?

Or is it better to use HAProxy to load balance Hiawatha. If one hiawatha server stops accepting new connections, Haproxy will switch to another Hiawatha. What do you think?

Regards
Andrew.
Hugo Leisink
13 January 2013, 19:27
When ConnectionsTotal is reached, Hiawatha drops new incoming connections. It is ok to set it to a very high number, like 100,000. If you have multiple webservers running for one host, you can of course use a load balancing proxy. You can also use multiple A records in you DNS to use the multiple webservers.
This topic has been closed.