Search code examples
node.jsdatabasemongodbloopbackjsmongodb-atlas

Connections % of configured limit has gone above 80 from Mongo Atlas


Getting emails from Mongo Atlas that saying Connections % of configured limit has gone above 80.

Using M0 Sandbox tier which has 100 max connections.

Whether an upgrade to M2 tier (which has also 100 max connections) solve this?


Solution

  • I resolved it by deleting all IP whitelist and wait for 5 minutes.

    We can monitor that, the connections are decreasing in mongo atlas cluster. At last, it became Zero.

    Then added IP whitelist from anywhere to access(Not secure. Just to work. Or whitelist current IP and server Ip).

    Its work fine.