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

New mechanism to force closure of connections when reaching maxIncomingConnections

    XMLWordPrintableJSON

Details

    • Service Arch

    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

            backlog-server-servicearch Backlog - Service Architecture
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: