有人有一樣的問(wèn)題嗎?
我是根據(jù)數(shù)據(jù)為王的教程操作的
更新 /etc/mongod.conf
增加 storageEngine=wiredTiger
同時(shí)修改 dbpath=/var/lib/mongo-wiredTiger
卻在修改後無(wú)法啟用mongoDB,把設(shè)置改回去又可以使用了
難道只能使用默認(rèn)的mmapv1?
Is it unable to start or does it hang after running for a while? If the latter situation is the case, it may be caused by too small memory.
If you use wiredTiger... the format of the configuration file is different... you need to use YAML format...
Please refer to this article
http://www.mongoing.com/config_3_0