蒙古异常 [英] Mongo Exception
问题描述
mmapv1:
smallFiles:true
然而,每次当我尝试运行mongo与新的更改,我得到这个错误(没有改变它的工作正常)。你能告诉我有什么问题吗?
2016-02-11T22:32:14.002 +0000 I FTDC [ftdc]检测到不正常的全时诊断数据捕获关闭,发现临时文件,某些度量可能已丢失。 OK
2016-02-11T22:32:14.023 + 0000 W FTDC [ftdc]未知错误捕获的异常捕获std ::异常类型boost :: filesystem :: filesystem_error:boost :: filesystem :: file_size:没有这样的文件或目录:/data/db/diagnostic.data/metrics.interim.temp在全时诊断数据捕获子系统中。关闭全职诊断数据捕获子系统。
我会尝试删除目录 /data/db/diagnostic.data
。
您还可以通过启动mongo来禁用诊断数据收集选项:
setParameter:
diagnosticDataCollectionEnabled:false
I recently had some storage issues on my PC so I changed the mongo.conf file to reduce the size of the journal. These are the lines which I put in.
mmapv1:
smallFiles: true
However, every time when I try to run mongo with the new changes I get this error(without the change it works just fine). Can you tell me what's the problem?
2016-02-11T22:32:14.002+0000 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. OK
2016-02-11T22:32:14.023+0000 W FTDC [ftdc] Uncaught exception in 'UnknownError Caught std::exception of type boost::filesystem::filesystem_error: boost::filesystem::file_size: No such file or directory: "/data/db/diagnostic.data/metrics.interim.temp"' in full-time diagnostic data capture subsystem. Shutting down the full-time diagnostic data capture subsystem.
I would try deleting the directory /data/db/diagnostic.data
.
You can also disable the diagnostic data collection by starting mongo with the option:
setParameter:
diagnosticDataCollectionEnabled: false
这篇关于蒙古异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!