3

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"

qin
  • 31
  • 4

2 Answers2

1

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

Yiheng Li
  • 135
  • 1
  • 10
0

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

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

Lujeni
  • 356
  • 2
  • 10