set maxconn frontend
Change a frontend's maximum concurrent connections (
frontend section may declare a
maxconn setting, which limits the number of concurrent connections the frontend will accept. When this limit is reached, connections queue up in the kernel's socket queue.
frontend fe_main bind :80 default_backend webservers maxconn 20000
set maxconn frontend command to change this limit dynamically. If the limit goes lower than the current number of connections, new connections will queue until they reach the lower threshold.
Below, we set the frontend fe_main to have a
maxconn of 10,000:
$ echo "set maxconn frontend fe_main 10000" | sudo socat stdio /var/run/hapee-1.6/hapee-lb.sock
Next upLua scripts