Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running MongoDB with numactl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
FatherBusa
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 166

PostPosted: Tue Dec 06, 2016 6:57 pm    Post subject: Running MongoDB with numactl Reply with quote

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
View user's profile Send private message
Colt45
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2007
Posts: 122
Location: Central Washington

PostPosted: Sun Feb 14, 2021 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum