[DOCS-15844] Investigate changes in SERVER-64005: Add metric to track the 'fullness' of the TCP accept queue Created: 24/Jan/23  Updated: 13/Nov/23  Resolved: 26/Jan/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.3, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jason Price
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-64005 Add metric to track the 'fullness' of... Closed
Participants:
Days since reply: 1 year, 2 weeks, 1 day ago
Story Points: 3

 Description   
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.



 Comments   
Comment by Blake Oler [ 24/Jan/23 ]

jason.price@mongodb.com we missed this ticket in making sure all metrics were added. Please reach out to me directly to coordinate any further information needed here. This ticket went into the 6.2 release guarded by the same feature flag as the rest of the tickets.

Generated at Thu Feb 08 08:14:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.