We got a performance issue on our Python Web Application and it was resolved when i did the log rotation on MongoDb,
db.adminCommand( { logRotate : 1 } )
it seems that the cause of the issue is related with the mongodb.
Why do we need to log rotate mongodb? Is there anything we can check/monitor when do we need to log rotate? What are the things we need to check if encounters mongodb related issues?