1. 参看: http://blog.csdn.net/leshami/article/details/53171375
2. 遇到的问题解决方法:
2.1
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten]
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-03-09T10:20:22.942+0800 I CONTROL [initandlisten]
解决方法1: https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/
解决方法2:执行:
echo "never" > /sys/kernel/mm/transparent_hugepage/enabled
echo "never" > /sys/kernel/mm/transparent_hugepage/defrag
2.2
2016-01-21T14:20:57.243+0800 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 7822 processes, 65535 files. Number of processes should be at least 32767.5 : 0.5 times number of files.