MongoDB active connections are very high

Viewed 12

I don't understand why active connections in my app are very high although I did the following:

  1. The max pool size is limited to 25
  2. Connect to DB only once when the app starts and then reuse that connection.

Note: when these connections increase, they continue like that for a while, which causes an issue in Atlas.

enter image description here enter image description here

0 Answers
Related