Awesome library! We were struggling with load spikes in the past days and noticed timeouts. So we wanted to increase the maxconn setting. As the HAProxy statistics page only shows the global maxconn (we set it to 100000 via EXTRA_GLOBAL) we were wondering why only 5000 active connections were possible until we found this:
It is documented nowhere that you need to set e.g. FRONTEND_EXTRA=maxconn 100000 change this. We assumed that setting the value in the global section would be enough but the default section seemed to override this.
Awesome library! We were struggling with load spikes in the past days and noticed timeouts. So we wanted to increase the maxconn setting. As the HAProxy statistics page only shows the global maxconn (we set it to 100000 via
EXTRA_GLOBAL) we were wondering why only 5000 active connections were possible until we found this:docker-flow-proxy/haproxy.cfg
Line 13 in ed0ef0c
It is documented nowhere that you need to set e.g.
FRONTEND_EXTRA=maxconn 100000change this. We assumed that setting the value in theglobalsection would be enough but thedefaultsection seemed to override this.