Runbook

Frequent WiredTiger Cache Flush Events in MongoDB.

Back to Runbooks

Overview

This incident type refers to the occurrence of frequent cache flush events in MongoDB's WiredTiger storage engine. WiredTiger is a modern storage engine used by MongoDB to provide scalability and high performance. However, any issue with the cache can lead to a significant impact on the performance of the database and the applications running on it. A cache flush event is a mechanism by which the data stored in the cache is written back to the disk. Frequent cache flush events indicate that the cache is not able to store the required data and is frequently getting full. This can lead to performance issues and can affect the overall functionality of the database.

Parameters

Debug

Identify the MongoDB server process ID

Check the WiredTiger cache utilization

Check the WiredTiger cache statistics

Check the MongoDB database statistics

Check the MongoDB collection statistics

Check the indexes on the MongoDB collection

Repair

Increase the cache size to reduce the frequency of cache flushes

Learn more

Related Runbooks

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