Indeed, if there are 20k file handles open to Mongo something very odd is going on internally. The mgo socket pool that is meant to keep a certain number of connections open is limited to 4000 connections.
I can imagine that there are ways to create >1 pool, but we *shouldn't* inside of a single controller.
Indeed, if there are 20k file handles open to Mongo something very odd is going on internally. The mgo socket pool that is meant to keep a certain number of connections open is limited to 4000 connections.
I can imagine that there are ways to create >1 pool, but we *shouldn't* inside of a single controller.