-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Service Arch 2022-07-25, Service Arch 2022-08-08, Service Arch 2022-08-22, Service Arch 2022-09-05, Service Arch 2022-09-19, Service Arch 2022-10-03
-
3
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.