serverStatus is a MongoDB diagnostic command that returns a document summarizing server state, resource use, connections, network traffic, operation counters, and storage-engine activity. It provides direct operational evidence for tracking performance and locating potential bottlenecks. section 21.2.3
Inspect the returned document for:
- Instance information, including hostname, MongoDB version, and uptime. section 21.2.3
- Memory allocation and use, active and available connections, and incoming and outgoing network traffic. section 21.2.3
- Insert, query, update, and delete operation counters for understanding workload activity. section 21.2.3
- WiredTiger read and write tickets, which limit concurrent operations, plus queue metrics that expose resource contention. section 21.2.3
Check current WiredTiger ticket use
Run db.serverStatus() in mongosh to retrieve the complete diagnostic document. To inspect current concurrent read and write ticket use, run db.serverStatus().wiredTiger.concurrentTransactions. Interpret prolonged zero ticket availability by version: MongoDB 7.0 and later dynamically adjust tickets, while MongoDB 6.0 and earlier use static configuration, where prolonged zero availability likely indicates overload. section 21.2.3
