We got 3 Servers running. One Primary, two as secondaries. Primary has 4 vcpus, 16 GB memory, both secondaries have 8 vcpus, 64 GB memory.
Every night, we run a full sync with several large collections on the primary with multiple threads.
During that sync, both secondaries become unavailable from time to time. mongod.log states following notice:
serverstatus was very slow: { after basic: 0, after asserts: 0, after
backgroundFlushing: 0, after connections: 0, after dur: 0, after extra_info:
0, after globalLock: 0, after locks: 0, after network: 0, after opLatencies:
0, after opcounters: 0, after opcountersRepl: 0, after repl: 0, after
security: 0, after storageEngine: 0, after tcmalloc: 0, after wiredTiger:
4992, at end: 4992 }
Mongostat during that time states:
Our clients have readPreference set to secondaries only, but we dont have much connection during that time tough.
Standard is default, so default mongodb config with no special tweaks.
So the only thing is see is, that the mongodb log states an "after wiredTiger" message with an higher amount of time. Any clue what's happening here?
Used mongoDB Version is 3.4.16