Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Michael Nitschinger
Michael NitschingerReporter
Michael Nitschinger
Michael NitschingerStory Points
1
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created September 18, 2020 at 7:58 AM
Updated September 23, 2020 at 1:06 PM
Resolved September 18, 2020 at 9:30 AM
Various couchbase server services have reduced their idle times
to 5 seconds to help mitigate potential slowloris attacks. This
unfortunately also has a profound impact on how quickly we need
to clean up idle endpoints, otherwise the server terminates
the sockets for us and we have noisy logs and lots of reconnect
attempts.
The default idle timeout has been reduced to 4.5s in a previous
changeset, but when testing with recent 7.0 builds I noticed that
connections were still terminated on us. Problem is, the actual
timer that checks all endpoints on a periodical basis still had
a much higher granularity (5s!). In empirical testing, moving
it down to 500 millis looks to be granular enough to catch any
idle endpoint and disconnect it before the chance gets a server
to do so.