Load Balancing bug - information?

  • 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!

  • 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.

  • 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.

  • 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

Log in to reply