Every time I run mapReduce command a new cursor with noTimeout is added. Those cursors are never closed. On the production server I reached thousands of them. I tried with setting the timeout option somewhere, but I did not succeeded. The same issue is when I run
db.getCollection("$cmd").findOne
, but as far as I understood this is only a kind of alias for runCommand.
Initially I spotted it using node.js driver, but it in command line the behaviour is the same.
I tried to find a way to close the cursor in the documentation, but there is no mentioning that.