- Alerts and Monitoring >
- Alerts >
- Alert Resolutions >
- System CPU Usage Alerts
System CPU Usage Alerts¶
On this page
Description¶
System CPU
alerts indicate that the CPU usage of the MongoDB
process has reached a specified threshold. This threshold is specified
when the alert is created.
Common Triggers¶
- System: CPU (Steal) %
Occurs when the percentage of time the CPU is in a state of “involuntary wait” exceeds the specified threshold. CPU steal percentage is the percentage by which the CPU usage exceeds the guaranteed baseline CPU credit accumulation rate.
Note
This alert typically triggers when all credits have been consumed on an AWS burstable performance instance.
- System: CPU (User) %
- Occurs when the CPU usage of the MongoDB process, as normalized by the number of CPUs, exceeds the specified threshold.
Possible Solutions¶
These are a few possible actions to consider to help resolve System CPU Usage alerts:
- Consider adding one or more indexes to improve query performance. For details on calculating suggested indexes, see Calculate Suggested Indexes.
- Consider scaling your cluster with additional servers to reduce the CPU usage percentage utilized by the current workload. For example, you could convert a replica set to a sharded cluster. For more information on sharded clusters, see Sharding.