Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Should IPVS graceful termination ignore "inactive" connections? #81308
What would you like to be added:
Why is this needed:
Inactive Connections are connections that are not
This timer maps to the CLOSE_WAIT / TIME_WAIT TCP connection status so I think we should keep this behavior.
However there is a pathological situation where a node crashes and the real-servers it hosts never get the chance to send a FIN. In that case remote clients will keep retrying to send packets until TCP stops retrying. In this case, the connection remains in the Active state (no FIN/RST packets have been seen) and the connection will only be deleted after
For this situation, I think decreasing
I also think we should decrease the default IPVS timeout values (especially for UDP) and/or make it configurable
Ah, this makes more sense, was originally confused by the
^ going to do some research on this option as well and report back here.