View previous topic :: View next topic |
Author |
Message |
FatherBusa Apprentice
Joined: 21 Mar 2004 Posts: 166
|
Posted: Tue Dec 06, 2016 6:57 pm Post subject: Running MongoDB with numactl |
|
|
How do I run mongod (as a system service) using "numactl --interleave=all"? It feels like just putting that before "/usr/bin/mongod" in /etc/init.d/mongod should do it, but rc complains. |
|
Back to top |
|
|
Colt45 Tux's lil' helper
Joined: 05 Sep 2007 Posts: 122 Location: Central Washington
|
Posted: Sun Feb 14, 2021 6:43 am Post subject: |
|
|
It doesnt like anything but a program to run in the command field.
The below works
Code: |
command="/usr/bin/numactl"
command_args="--interleave=all /usr/bin/mongod --config ${config_file}"
|
|
|
Back to top |
|
|
|