Details
-
Task
-
Resolution: Unresolved
-
Major
-
5.0, Server 5.1.0, Server 5.5/Vulcan, Alice, Mad Hatter, 6.6.0, Cheshire-Cat
-
DOC-2019-S08-Apr19, DOC-2019-S09-May03, DOC-2019-S10-May17, DOC-2019-S11-May31, DOC-2019-S12-Jun14, DOC-2019-S13-Jun28, DOC-2019-S14-Jul12, DOC-2019-S15-Jul26
-
1
Description
As covered in https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-tcp-idle-timeout, the default tcp keep alive for azure load balancers is 4 minutes.
This has a knock-on effect for Couchbase Server users as generally the azure templates configure each node to use the public IP address, so the tcp timeout for these is also 4 minutes.
We need to add a section onto the networking section of this page to recommend that users configure their TCP keepalives on all connecting applications to be significantly lower than this 4 minute timeout, to ensure connections are not unexpectedly closed.
For example, the default keepalive for Windows (and in the .NET SDK) is 2 hours, which is much higher than the 4 minute timeout, so connections may get closed early and cause significant problems.