Reputation: 31
i use pymongo to test the performance of the mongodb. 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"
Upvotes: 3
Views: 2056
Reputation: 145
Driver can't remove dropped socket from connection from pool until your code try use it.
Upvotes: 1
Reputation: 356
What is your plateform ? ( simple mongod, ReplicaSet, Shard)
Do you use "bulk insert" ? http://www.mongodb.org/display/DOCS/Inserting#Inserting-Bulkinserts
Upvotes: 0