Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Increase HAProxy Backend Server Session Limit

    Cache/Proxy
    haproxy
    5
    6
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stjohnp89
      last edited by

      Hello,

      Just as the title says.
      In the HAProxy Statistics Page, i see that each of my Backend Servers have Limit of 200 for Backend Sessions.

      I am Running multiple Icecast servers (icecast is a audio streaming server if anyone doesnt know) behind HAProxy and i am noticing that each connection to the web stream counts as a session. I am not comfortable with the limit of 200 and would like to increase it.

      does anyone know how?

      Screen shot example of my problem below.

      3b0a3c6e-76c6-49ec-96e8-8be085ba445c-image.png

      1 Reply Last reply Reply Quote 0
      • S
        stjohnp89
        last edited by

        and if you need more information to be able to assist. please let me know. i'm in a bit of a time crunch to fix this. :)

        1 Reply Last reply Reply Quote 0
        • U
          uz890ed
          last edited by

          hey there, were you able to do this?

          C 1 Reply Last reply Reply Quote 0
          • C
            CrowFather @uz890ed
            last edited by

            @uz890ed I just figured it out now. In the front end options there's an option called max connections that let's you set that.

            I'm not sure why but it seems to drop the last 0 for me. Setting it to 5000 gives me 500 connections max. Setting it to 500 gives me 50 connections max.

            P 1 Reply Last reply Reply Quote 1
            • P
              planetinse @CrowFather
              last edited by

              @crowfather I had the same issue - your workaround worked for me too, would be nice to know if this is a bug or what the logic is behind it.

              1 Reply Last reply Reply Quote 0
              • N
                nikolaosinlight
                last edited by

                @crowfather

                I get that the backend limit is 1/10th the front end... but still not sure what this resolves.

                If you set the front-end to 500 does that mean the back-end is really 500 but is only showing 50. Should we be setting it to 10X the value we want or is it that it only incorrectly displays this way?

                --Nikolaos

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.