[lvs-users] LVS and Squid client with persistent connection

Peter Viskup skupko.sk at gmail.com
Wed Dec 12 07:57:38 GMT 2018

Hello Thomas,

On Wed, Dec 5, 2018 at 3:26 PM Thomas Bätzler <t.baetzler at bringe.com> wrote:
> > Having client of Squid server with opened persistent connection causing
> the
> > LVS balancing forwarding new connections to the other node only.
> Yeah, while there's an established connection over ipvs all subsequent new
> connections from the same source ip are routed to the same backend server.

The lblcr algorithm should not balance on source-ip, but on "dh with
wlc", but the algorithm is not clear to me. Would not expect the
described situation to happen.

> I hate to suggest this, but have you considered using haproxy to distribute
> requests to your squid servers?

Would like to stay with LVS and not going to user-level balancing if possible.


More information about the lvs-users mailing list