replication - MongoDB new replicaset resident memory is larger than the existing sets -
from mongodb tutorial of how resync set
, wipe files in /data/db
, restart mongod process resync data. looks ok, same number of documents existing 2 sets(primary , 1 secondary). however, when check memory on mms. shows me new resynced set/mongod process has different memory status value other two. existing twos using db.serverstatus.mem
shows following:
"mem" : { "bits" : 64, "resident" : 239, "virtual" : 66348, "supported" : true, "mapped" : 32865, "mappedwithjournal" : 65730 }
however, new resynced set shows like:
"mem" : { "bits" : 64, "resident" : 1239, "virtual" : 52447, "supported" : true, "mapped" : 25700, "mappedwithjournal" : 51400 }
the resynced resident memory 6-10 times more existing ones. wouder if normal because data comes in during resyncing?? , virtual , mapped value different too. can explain?? thanks
Comments
Post a Comment