增加MongoDB的最大连接数 [英] Increase MongoDB maximum number of connections

查看:521
本文介绍了增加MongoDB的最大连接数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MongoDB方面遇到一些错误,该错误抱怨它已达到允许的最大连接数.

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.

推荐答案

查看MongoDB文档:

Check the MongoDB documentation:

http://www.mongodb.org/

使用此命令行参数:

--maxConns arg       max number of simultaneous connections

您可能要检查以下内容: http://blog. boxedice.com/2011/06/08/mongodb-connection-overhead/

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

这篇关于增加MongoDB的最大连接数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆