Skip to content

Instantly share code, notes, and snippets.

@luc-lynx
Created January 20, 2018 21:22
Show Gist options
  • Save luc-lynx/8e737cce7498972f16fafadf8d3629c0 to your computer and use it in GitHub Desktop.
Save luc-lynx/8e737cce7498972f16fafadf8d3629c0 to your computer and use it in GitHub Desktop.
Numa & mongo
#!/bin/bash
echo 0 > /proc/sys/vm/zone_reclaim_mode
ulimit -n 64000
numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment