Runbook

MongoDB number cursors open incident.

Back to Runbooks

Overview

A MongoDB number cursors open incident occurs when there are too many cursors opened by MongoDB for clients, usually exceeding 10,000, which can cause performance issues and impact the overall stability of the system. This incident needs to be addressed promptly to ensure that the number of cursors is reduced to a manageable level, and that the issue does not recur.

Parameters

Debug

1. Check MongoDB version

2. Check number of open cursors for each database

3. Check the number of clients and connections for MongoDB

4. Check the current open file limit for the MongoDB process

5. Check the ulimit settings for the MongoDB process owner

Repair

Reduce the number of open cursors in MongoDB

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.