aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mongodb.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 30214140b..f82e1e8c0 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -94,6 +94,16 @@ class Mongodb < Formula
<string>#{var}/log/mongodb/output.log</string>
<key>StandardOutPath</key>
<string>#{var}/log/mongodb/output.log</string>
+ <key>HardResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>1024</integer>
+ </dict>
+ <key>SoftResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>1024</integer>
+ </dict>
</dict>
</plist>
EOS