Priority: Major - P3
Resolution: Gone away
Affects Version/s: 2.2.33
Fix Version/s: None
Component/s: MongoDB 3.2
Environment:Windows Server 2012 RC
No issue if there are only a few single requests or small size loops.
but If you send many requests around the loop
If pooSize and socketTimeOut are not appropriate
After all requests have finished and socketTimeOut has passed
There is a disconnected connection.
I'm using keepAlive option
- If the number of loops is large, and the number of socketTimeOutMS is large,
- If the number of loops is large, recreate when poolSize becomes large.
See this code