Home > Backend Development > PHP Tutorial > mongodb 的联接php会自动释放吗

mongodb 的联接php会自动释放吗

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:16:31
Original
1264 people have browsed it

mongodb 的连接php会自动释放吗?
出现一个情况是 我们程序没怎么跑 mongodb的连接就有300多

我的代码中没释放起链接 是应为这样吗?

------解决方案--------------------
这就是MongoDB 的特点。如果你不希望这样,可以使用持久连接。连接池之类的。或者限制连接数。搜索一下文章还是甚多的

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
Latest Issues
mongodb start
From 1970-01-01 08:00:00
0
0
0
linux - ubuntu14 error installing mongodb
From 1970-01-01 08:00:00
0
0
0
Use of symfony2 mongodb
From 1970-01-01 08:00:00
0
0
0
mongodb _id rename
From 1970-01-01 08:00:00
0
0
0
Parameter understanding of mongodb
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template