唉~!这就走起来
/sys/kernel/mm/transparent_hugepage/enabled
/sys/kernel/mm/transparent_hugepage/defrag
完成后
vim /etc/security/limits.conf
添加一下几行 mongod soft nofile 64000 mongod hard nofile 64000 mongod soft nproc 32000 mongod hard nproc 32000
sudo service mongod restart