2 china1976 china1976 于 2016.03.09 23:10 提问

mongodb 在 linux下的启动提示信息,求解! 2C

求助,安装mongo 3.0.4 后,运行mongo命令后提示如下,一头雾水啊,不知可有哪位大侠遇到过同样问题,肯请指点一二,如何处理其中的警告问题,不胜感谢
Server has startup warnings:
2015-04-29T18:03:17.544+0800 I STORAGE [initandlisten]
2015-04-29T18:03:17.544+0800 I STORAGE [initandlisten] ** WARNING: Readahead for /var/lib/mongo is set to 4096KB
2015-04-29T18:03:17.544+0800 I STORAGE [initandlisten] ** We suggest setting it to 256KB (512 sectors) or less
2015-04-29T18:03:17.544+0800 I STORAGE [initandlisten] ** http://dochub.mongodb.org/core/readahead
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten]
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten]
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten]
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 4096 processes, 64000 files. Number of processes should be at least 32000 : 0.5 times number of files.
2015-04-29T18:03:17.679+0800 I CONTROL [initandlisten]

3个回答

oyljerry
oyljerry   Ds   Rxr 2016.03.09 23:44

就是你的一些系统环境参数不是最优 它提醒你最好最好修改一下

dcxy0
dcxy0   Ds   Rxr 2016.03.10 10:09

可以正常运行,只是有更好的运行方式,信息里面说的很明确了

china1976
china1976   2016.03.12 21:41

感谢二位的热心关注,谢谢了!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!