I am hitting mongodb end point with around 30,000 requests per minute. Everything seems to work fine till 20,000 requests and after that all requests are failing with
t [object Object]. (/home/ubuntu/node_modules/mongodb/lib/mongodb/connection/server.js:530:7) at [object Object].emit (events.js:88:20) at [object Object]. (/home/ubuntu/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:104:15) at [object Object].emit (events.js:70:17) at Socket. (/home/ubuntu/node_modules/mongodb/lib/mongodb/connection/connection.js:411:10) at Socket.emit (events.js:67:17) at Array.0 (net.js:319:25) at EventEmitter._tickCallback (node.js:192:41)
closing the db connection per iteration, FYI, i am connecting to multiple DBs everytime.
Repeating the same process again is having the same consequences.