Description
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.
Attachments
Issue Links
- documents
-
SERVER-64005 Add metric to track the 'fullness' of the TCP accept queue
-
- Closed
-