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

    Load Balancing bug - information?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.6k Views
    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.
    • D
      DWAyotte
      last edited by

      I was wondering if there was more information on the fix in the latest MR about load balancing.

      Server load balancing – ICMP monitor fixed

      I am wondering if this is a problem I am experiencing. Any details would be greatly appreciated. Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        When using server load balancing and selecting the ICMP monitor, it actually used TCP to monitor. Still worked, just didn't do what you told it to. That's all that changed.

        1 Reply Last reply Reply Quote 0
        • D
          DWAyotte
          last edited by

          ah ok, thanks for clarifying that for me.

          What would the best way to verify that the load is being distributed evenly?
          I have 2 servers in my pool and 1 server seems to get the bulk of all traffic.
          How does it load balance? Is it based on states, bandwidth, etc?

          Thanks a ton btw.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            If you don't have much load, the load balancing won't be equal because of the way slbd functions. The first connection every 5 seconds goes to one server, so if you only have 1 connection or less every 5 seconds, you'll never hit the other servers. As your load increases, it becomes balanced, so slbd's quirk isn't really a problem, it balances when you actually have enough load to need load balancing. And failover will remove that server from the pool so you have redundancy. Once you have a decent amount of load (20 or more connections per 5 seconds) the balancing equals out. I don't think that's detailed in the wiki, it is in the load balancing chapter of the book. http://pfsense.org/book

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