-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:
-
Environment:NUMA machines, Debian Linux
*Location*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: tutorial/install-mongodb-on-debian
NUMA machines, Debian Linux *Location*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/ *Screen Resolution*: 1366 x 768 *repo*: docs *source*: tutorial/install-mongodb-on-debian
There is a bug on the debian init script, when there is a NUMA machine. On the script Start secction it says:
start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
--make-pidfile --chuid $DAEMONUSER \
--exec $NUMACTL $DAEMON – $DAEMON_OPTS
but on NUMA enviroments start-stop-daemon gets numa parameters as start-stop-daemon parameters. The fix for it is to move the $NUMACTL var before start-stop-daemon command, like:
$NUMACTL start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
--make-pidfile --chuid $DAEMONUSER \
--exec $DAEMON – $DAEMON_OPTS
This make installation fails.
It will be nice if you could fix it. The best regards and Thanks in advance
- duplicates
-
SERVER-6008 numactl in debian init script seems to be problematic
- Closed