# HAProxy maxconn value

**URL:** <https://community.solace.com/t/haproxy-maxconn-value/5000>\
**Category:** Solace Event Broker\
**Tags:** solacepubsub\
**Created:** [November 16, 2026, 3:10pm UTC](https://community.solace.com/t/haproxy-maxconn-value/5000 "2026-11-16T15:10:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgandy](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/jgandy/32/2270_2.png) [@jgandy](https://community.solace.com/u/jgandy)\
**Post date:** [November 16, 2026, 3:10pm UTC](https://community.solace.com/t/haproxy-maxconn-value/5000/1 "2026-11-16T15:10:25Z")

</div>

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.

> <https://github.com/SolaceLabs/solace-ha-docker-compose/blob/master/template/assertLeader.perl>
