Increase MongoDB maximum number of connections

烂漫一生 提交于 2020-01-01 09:59:25

问题


I am getting some errors on MongoDB side, the error is complaining that it reached the max allowed connections.

Wondering if there is anyway to increase the max number of allowed connections.


回答1:


Check the MongoDB documentation:

http://www.mongodb.org/

use this command line argument:

--maxConns arg       max number of simultaneous connections

You might want to check this: http://blog.boxedice.com/2011/06/08/mongodb-connection-overhead/



来源:https://stackoverflow.com/questions/7693989/increase-mongodb-maximum-number-of-connections

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!