Question

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?

Was it helpful?

Solution

Your startup script doesn't actually use numactl command to start mongod.

Your startup command should be:

/usr/bin/numactl --interleave=all /usr/bin/mongod

See also a similar question at AskUbuntu: How should I start MongoDB on a NUMA machine?

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top