HAProxy maxconn value

Hey all! For those of you using HAProxy as a front to your pubsub broker pair, I’m wondering what value you are using for the maxconn setting in the haproxy.cfg.

We used the below reference template, which defaulted to maxconn=4096. With enterprise 10k brokers, we hit this limit recently and it caused some clients to timeout.

To fix this issue, i just doubled the number to 8192. I’m thinking this needs to be in the 15000 range though.