mongo启动报警

mongo 报警

** WARNING: You are running this process as the root user, which is not recommended.
** WARNING: You are running on a NUMA machine.
** We suggest launching mongod like this to avoid performance problems:
** numactl –interleave=all mongod [other options]

解决办法是开机启动添加
echo “never” > /sys/kernel/mm/transparent_hugepage/defrag
echo “never” > /sys/kernel/mm/transparent_hugepage/enabled
再开启mongo

文章分类 mongo

发表评论

邮箱地址不会被公开。 必填项已用*标注

*