1:Mongod日志warning:
mongodb日志显示如下: WARNING: You are running on a NUMA machine. We suggest launching mongod like this to avoid performance problems: numactl –interleave=all mongod [other options]
2:解决方案:
在原启动命令前面加numactl –interleave=all
#numactl --interleave=all mongod --config /mongodb/mongod.conf
3:修改内核参数
echo 0 > /proc/sys/vm/zone_reclaim_mode
接下一篇博客: