I'm using MongoDB 2.4, and when I start the mongo for the 1st time, I get a 9GB of journaling files on one server, and on the second server I get only 0.5GB of files for journaling. On the first server, MongoDB take 5 minutes to load! and on the second one it takes a few seconds. Both instances have no data and running for the 1st time. Each server works independently and both of them are not related. Each server have it's own shards (all shards - 3 of them, are in the same server).
Which means for each server I have:
/usr/mongodb/bin/mongod --configsvr --dbpath /data/svr1 --port 27019
/usr/mongodb/bin/mongod --configsvr --dbpath /data/svr2 --port 27020
/usr/mongodb/bin/mongod --configsvr --dbpath /data/svr3 --port 27021
/usr/mongodb/bin/mongod --dbpath /data/db1 --port 27010
/usr/mongodb/bin/mongod --dbpath /data/db2 --port 27011
/usr/mongodb/bin/mongod --dbpath /data/db3 --port 27012
/usr/mongodb/bin/mongos --configdb localhost:27019,localhost:27020,localhost:27021
and the script that creates the shards:
sh.addShard("localhost:27010");
sh.addShard("localhost:27011");
sh.addShard("localhost:27012");
sh.enableSharding("somescheme");
I wondered why I get a 9GB files for journaling on the 1st one and 0.5GB on the second? The 1st one have a bigger hard disk and its not SSD, the second is SSD and smaller. any ideas? Thanks!!!