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

MongoDB数据库连接池设置

WBOY
Release: 2016-06-07 15:11:40
Original
1764 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template