# Backend sessions limit 200?

**URL:** <https://discourse.haproxy.org/t/backend-sessions-limit-200/1661>\
**Category:** Help!\
**Created:** [October 11, 2017, 10:28am UTC](https://discourse.haproxy.org/t/backend-sessions-limit-200/1661 "2017-10-11T10:28:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pavel](https://discourse.haproxy.org/u/pavel)\
**Post date:** [October 11, 2017, 10:28am UTC](https://discourse.haproxy.org/t/backend-sessions-limit-200/1661/1 "2017-10-11T10:28:19Z")

</div>

Hi,

I’m using the stats page.  
On the row with Backend there is a value 200 for Sessions Limit. What does it exactly mean and how to set it?  
Frontend has 2000 for Sessions Limits, which is a default according documentation. So does it mean that frontend can accept 2000 sessions, but backend only 200?  
I’m little bit confused because older version of haproxy shows 0 (unlimited?) there.

With Best Regards,  
Pavel

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [October 11, 2017, 9:37pm UTC](https://discourse.haproxy.org/t/backend-sessions-limit-200/1661/2 "2017-10-11T21:37:35Z")

</div>

I believe there is not maxconn/session limit at backend level. In the backend, only the per-server maxconn value is relevant (which you set on each server individually).

I agree the stats page is confusing. We ought to fix this.

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [October 11, 2017, 11:15pm UTC](https://discourse.haproxy.org/t/backend-sessions-limit-200/1661/3 "2017-10-11T23:15:28Z")

</div>

Actually I was wrong, but the session limit is only relevant when using minconn:

[https://www.mail-archive.com/haproxy@formilux.org/msg26566.html](https://www.mail-archive.com/haproxy@formilux.org/msg26566.html)

As Moemen MHEDHBI explained:

> The Session Limit in the backend row refers to the fullconn parameter of that backend. The fullconn is about setting dynamic maxconn on backend servers. You can read more about it in the docs  
> [HAProxy version 1.7.14 - Configuration Manual](http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-fullconn)
> 
> You need to consider the “fullconn” parameter if you have set up “minconn” in server lines (to use dynamic maxconn), otherwise you can ignore it.

---

<div class="post-metadata">

**Author:** ![pavel](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pavel](https://discourse.haproxy.org/u/pavel)\
**Post date:** [October 13, 2017, 2:08pm UTC](https://discourse.haproxy.org/t/backend-sessions-limit-200/1661/4 "2017-10-13T14:08:09Z")

</div>

Thank you for an explanation.
