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

New mechanism to force closure of connections when reaching maxIncomingConnections

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Networking
    • Labels:
      None
    • Case:

      Description

      In some cases, a misbehaving client could open up thousands of connections in a short burst, causing a node to reach maxIncomingConnections and preventing both legitimate client operations and internal health ping and monitoring connections from being established.

      I'd like to see a new server-side mechanism that kicks in when maxIncomingConnections is reached, somewhat analogous to a JVM garbage collector. This would identify stalled (or unused) connections and quickly force them closed, relieving connection pressure and allowing normal operations.

      This would be necessary on both mongos instances as well as all mongod processes. 

        Attachments

          Activity

            People

            Assignee:
            backlog-server-servicearch Backlog - Service Architecture
            Reporter:
            nicholas.cottrell Nic Cottrell
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: