When I login to Mongo Shell in my production server, running Oracle Linux v7, I see the message:
WARNING: You are running on a NUMA machine.
To address this, I have used the init script as suggested here : https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod.
I have restarted mongod as well as the machine, yet it looks like my mongod does not start with the --interleave=all
setting and I see the same warning on start up. Any help?
Best Answer
Your startup script doesn't actually use
numactl
command to start mongod.Your startup command should be:
See also a similar question at AskUbuntu: How should I start MongoDB on a NUMA machine?