mongodb mongod,mac os x - rlimits 警告
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16621763/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
mongod, mac os x - rlimits warning
提问by Kosmetika
I've been using mongo on my mac os x 10.8 and suddenly yesterday at my logs appeared this warning (and when starting shell it's present too) -
我一直在我的 mac os x 10.8 上使用 mongo,昨天突然在我的日志中出现了这个警告(并且在启动 shell 时它也存在)-
WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
警告:软限制太低。文件数为 256,至少应为 1000
Who could explain, what does it mean? And should I increase number of rlimitssomehow?
谁能解释一下,什么意思?我应该以某种方式增加rlimits 的数量吗?
采纳答案by Aniruddha
on mac, you probably using mongodb for development purpose. If yes, then you can ignore this.
在 mac 上,您可能将 mongodb 用于开发目的。如果是,那么您可以忽略这一点。