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
精彩评论