关于MongoDB的一个问题

来源:互联网 发布:非法网络众筹平台案例 编辑:程序博客网 时间:2024/04/28 03:59

最近在测试使用mongodb,安装和使用都很正常,只是服务端的进程每次启动起来没过多长时间久断掉了,进程自己消失了。搞了好长时间都查不出什么问题。希望能遇见个牛人给点拨一下,有可能是哪里出问题了。

启动时用的命令是 bin/mongod -f ./mongodb.conf

 

mongodb.conf的内容是

dbpath = /data/mongodb/
logpath = /usr/local/tool/mongodb/mongodb.log
port = 2711
auth = true
#profile = 2
#nocursors = true
logappend = true
#verbose = true # to disable, comment out.