-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.0
-
Component/s: Packaging
-
Fully Compatible
-
Linux
Changes in SERVER-3574 have added numactl to init.d scripts, but those changes do not appear to be reflected in upstart scripts for ubuntu. Checked both the package and github.
Prior google groups thread on the subject have resulted in the following code to replace start_server() in /etc/init.d/mongodb
start_server() { # check for numactl NUMACTL=$(which numactl) if [ -n "$NUMACTL" ]; then DAEMON_OPTS="--interleave=all ${DAEMON} ${DAEMON_OPTS}" DAEMON="$NUMACTL" fi # Start the process using the wrapper /usr/bin/numactl --interleave=all -- \ start-stop-daemon --background --start --quiet --pidfile $PIDFILE \ --make-pidfile --chuid $DAEMONUSER \ --exec $DAEMON -- $DAEMON_OPTS errcode=$? return $errcode }
- is related to
-
SERVER-27587 mongod.service does not disable NUMA
- Closed
-
SERVER-3574 add numactl to init scripts
- Closed
- related to
-
SERVER-6008 numactl in debian init script seems to be problematic
- Closed
-
SERVER-10190 Upstart configuration fails to start server if other instances are running
- Closed
- links to
(1 links to)