I am using MongoDb as the Database for our WebApplication
Currently we are facing a issue in mongoDb which is "max connections 8000 exceeded"
To solve this problem we have decided to increase the connections to 20000
But not sure how to increase the connections in MongoDB .
Currently we have only this property called maxConnections whose vaue is 800 in our code
This is the stats collected from mongodb server
db.serverStatus().connections
{ "current" : 7000, "available" : 1000 }
We start the mongodb this way
mongod --config /etc/mongodb.conf
and inside the mongodb.conf we have
replSet = test
fork = true
port = 27017
I am not sure why the max conection is showing 8000 ?? where it is hardcoded ??
Could any body please tell me how to find why the connection size is 8000 in my case ??