Over the past 3 months, my MongoDB server has become very slow every 2 hours and 10 minutes, very accurately.
I suppose there might be something blocking, the most potential reason is that it can create an index. There is something special in my database:
I have been obsessed with this problem for 3 months. Any comments / suggestions would be much appreciated!
Fri Jul 5 15:20:11 .040 [conn2765] serverStatus was very slow: {after basic: 0, after statements: 0, after backgroundFlushing: 0, after connections: 0, after cursors: 0, after dur: 0, after extra_info: 0, after globalLock: 0, after indexCounters: 0, after locks: 0, after network: 0, after opcounters: 0, after opcountersRepl: 0, after recordStats: 222694, after repl: 222694, at the end: 222694}
Fri Jul 5 17:30:09 .367 [conn4711] serverStatus was very slow: {after main: 0, after statements: 0, after backgroundFlushing: 0, after connections: 0, after cursors: 0, after dur: 0, after extra_info: 0, after globalLock: 0, after indexCounters: 0, after locks: 0, after network: 0, after opcounters: 0, after opcountersRepl: 0, after recordStats: 199498, after repl: 199498, at the end: 199528}
Fri Jul 5 19:40:12 .697 [conn6488] serverStatus was very slow: {after basic: 0, after statements: 0, after backgroundFlushing: 0, after connections: 0, after cursors: 0, after dur: 0, after extra_info: 0, after globalLock: 0, after indexCounters: 0, after locks: 0, after network: 0, after opcounters: 0, after opcountersRepl: 0, after recordStats: 204061, after repl: 204061, at the end: 204081}
Here is a screenshot of my pingdom report, server 4 minutes every 2 hours and 7 minutes. Initially, the server runs 2 minutes every 2 hours and 6 minutes. 