开发者

Mongodb : AutoReconnect, Connection reset by peer

i use pymongo to test the performance of the m开发者_如何学运维ongodb. i use 100 threads, every thread excecute 5000 insert, and everything work ok. but when i excecute 10000 insert in every thead, i meet some error:

"AutoReconnect: Connection reset by peer"


Driver can't remove dropped socket from connection from pool until your code try use it.


What is your plateform ? ( simple mongod, ReplicaSet, Shard)

Do you use "bulk insert" ? http://www.mongodb.org/display/DOCS/Inserting#Inserting-Bulkinserts

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜