Runbook

High incoming connections on MongoDB

Back to Runbooks

Overview

This incident type typically involves a high volume of incoming connections to a MongoDB database, which can cause performance issues and potentially impact the availability of the database. It often requires investigation and remediation to prevent further issues.

Parameters

Debug

Check MongoDB connection status

Check MongoDB connection limit

Check available MongoDB connections

Check MongoDB replication status

Check current MongoDB read/write operations

Check MongoDB system logs for any errors

Check MongoDB configuration file for connection limits and timeouts

Repair

Set the path to the MongoDB log file

Check if the log file exists

If no entries are found, exit with an error message

If entries are found, print them to the console

Increase the maximum number of allowed connections to accommodate the current traffic or add additional resources to handle the incoming connections.

Learn more

Related Runbooks

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