Hello all,We just implemented MongoDB via MongoDB's Atlas product and are seeing a high number of connections with a relatively low number of users in our app. For about 400 users in our app, we're seeing around 180 connections. Compared to MySQL, where we see about 5 connections, this seems really high.I did some research and saw a thread on GitHub (https://github.com/mongodb/mongo-php-driver/issues/393) talking about a similar issue. I understand that the driver does not support closing the connection. I also read that the connection is hashed based on a number of parameters, including the process ID.
So, all that being said...should we be concerned about hitting the max connection limit of 2000? We're at about 10% traffic right now (we serve school districts). We're running PHP via Apache (so not php-fpm as mentioned in the GitHub article). Or, should the connections be reused by Apache workers the die off when the worker is no longer valid?
Any insight would be great.Thanks!
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/985b8d42-2e50-4dad-a994-ec3fce7aa8ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.