Gary Smith
2010-04-26 16:56:56 UTC
I have setup two sqlgrey servers load balanced with ipvsadm. Load balancing is operating but I end up with a lot of orphaned ESTABLISHED connections on the real servers. In a period of 48 hours, I received ~500 requests (per real server) and here were about ~250 established connections per server.
When I bypass ipvsadm and just go direct to a single server, I see only a few connections established (and there is a corresponding connection on the postfix side).
Does anyone else on the list run sqlgrey in an ipvsadm load balanced scenario? If so, any pointers? Postfix seems to have no complaint on this, but I think by design it reconnects when the connection is gone.
When I bypass ipvsadm and just go direct to a single server, I see only a few connections established (and there is a corresponding connection on the postfix side).
Does anyone else on the list run sqlgrey in an ipvsadm load balanced scenario? If so, any pointers? Postfix seems to have no complaint on this, but I think by design it reconnects when the connection is gone.