Since all secondaries have to write the same data as the primary, this one
machine may be very overloaded.
In the log, I see that the initial sync has completed and a new namespace
file (myglobal.ns) has been allocated successfully. After this, the
instance failed with “out of memory” error.
As it is performing an initial sync, did you try emptying its dbpath
directory and restarting the process again?
You should monitor the exact memory usage of the system around this time
(if you are able to replicate) may be with an automated script recording
db.serverStatus().mem and system iostat every second. Or you can also
use mongostat 1 to get these statistics. This will help you identify the
spikes in memory usage.
You received this message because you are subscribed to the Google Groups "mongodb-user"