Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15844

Investigate changes in SERVER-64005: Add metric to track the 'fullness' of the TCP accept queue

    • 3

      Original Downstream Change Summary

      This ticket concerns connections incoming to a mongos or mongod – we call the incoming connection path the ingress layer. Before the ingress layer accepts a connection, this connection sits in the accept queue on the TCP layer.

      The accept queue has a fixed size, and when the queue is full, the OS will start dropping incoming connections at the pre-mongo level. An overflowing queue means that either a mongo process is not accepting connections fast enough, or that the kernel is throttling connection establishment.

      This ticket adds the listenerSocketBacklogQueueDepths section, with a depth added for each listener that is registered on the ingress transport layer. This will be an integer value.

      Description of Linked Ticket

      This ticket concerns connections incoming to a mongos or mongod – we call the incoming connection path the ingress layer. Before the ingress layer accepts a connection, this connection sits in the accept queue on the TCP layer.

      The accept queue has a fixed size, and when the queue is full, the OS will start dropping incoming connections at the pre-mongo level. An overflowing queue means that either a mongo process is not accepting connections fast enough, or that the kernel is throttling connection establishment.

      Of particular note are generic TCP metrics TcpExtListenOverflows and TcpExtListenDrops.

            Assignee:
            jason.price@mongodb.com Jason Price
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 12 weeks, 2 days ago