The first and more important opinion that you need to do is check your requests, for example, in my case I have the same problem, and when I check my tail -f /var/log/mongodb/mongod.log logs (you can configure these logs are /etc/mongod.conf). I only saw simple queries like db.brands.find ({"field": "value"}), but I check my indexes in the brands collections, and this field in queries is not an index (db.brands.getIndexes ()) the only thing I did was index this field db.brands.ensureIndex({name:1},{unique:true}) , of course, make sure your field is unique, because in this example I put as unique . After that, my processor changed from 100% to 20%.
Therefore, I am not saying that this is your problem, but maybe check your queries before you think.
Paulo victor
source share