# Backend maxconn not working

**URL:** <https://discourse.haproxy.org/t/backend-maxconn-not-working/7596>\
**Category:** Help!\
**Created:** [April 21, 2022, 4:30am UTC](https://discourse.haproxy.org/t/backend-maxconn-not-working/7596 "2022-04-21T04:30:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hac3ru](https://avatars.discourse-cdn.com/v4/letter/h/ee59a6/32.png) [@hac3ru](https://discourse.haproxy.org/u/hac3ru)\
**Post date:** [April 21, 2022, 4:30am UTC](https://discourse.haproxy.org/t/backend-maxconn-not-working/7596/1 "2022-04-21T04:30:24Z")

</div>

Hello,

I have multiple instances of HAProxies and I’m trying to limit the total connections on the backend servers. The issue is that, even though I’ve set the

```auto
    server worker1 172.16.7.107:8080 tfo check weight 10 maxconn 300

```

The current sessions established on that backend are way over 300 (reaching 1.5k sometimes).

I tried to do this on HAProxy 2.2, 2.4, 2.5, the behavior is the same. Any ideas why?

Thank you.
