Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38811

TCP_KEEPINTVL should be 1 second

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8, 4.0.25
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • v4.0
    • Service Arch 2019-01-14, Service Arch 2019-01-28

      Currently we set it to 5 minutes, matching TCP_KEEPIDLE, but that seems incorrect. KEEPINTVL is how frequently to probe a connection that has been idle for KEEPIDLE seconds until we get a successful reply from the remote host, which restarts the KEEPIDLE timer. Essentially this is used to detect blackholed connections, and there is no reason to wait 45 minutes (default value 9 of TCP_KEEPCNT * KEEPINTVL) to realize a connection is dead. This will lower it to 5 minutes + 10 seconds.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: