Home >Database >Mysql Tutorial >MongoDB数据库连接池设置

MongoDB数据库连接池设置

WBOY
WBOYOriginal
2016-06-07 15:11:401752browse

MongoDB数据库连接池设置 关键词: com.mongodb.DBPortPool$SemaphoresOut: Out of semaphores to get db 今天做MongoDB并发测试,报出上述错误。究其原因,是数据库连接数太少,资源耗

MongoDB数据库连接池设置

 

 关键词:com.mongodb.DBPortPool$SemaphoresOut: Out of semaphores to get db


   今天做MongoDB并发测试,报出上述错误。究其原因,是数据库连接数太少,资源耗尽。查看com.mongodb.MongoOptions源代码,其中有connectionsPerHost和threadsAllowedToBlockForConnectionMultiplier两个重要的属性...

 

详细地址:http://howsun.blog.sohu.com/173684790.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:rate-limit解释Next article:Word和Access的数据交流