aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/polipo.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/polipo.rb b/Library/Formula/polipo.rb
index 4c6e2e7d3..4e84d4555 100644
--- a/Library/Formula/polipo.rb
+++ b/Library/Formula/polipo.rb
@@ -36,6 +36,15 @@ class Polipo < Formula
<array>
<string>#{opt_bin}/polipo</string>
</array>
+ <!-- Set `ulimit -n 20480`. The default OS X limit is 256, that's
+ not enough for Polipo (displays 'too many files open' errors).
+ It seems like you have no reason to lower this limit
+ (and unlikely will want to raise it). -->
+ <key>SoftResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>20480</integer>
+ </dict>
</dict>
</plist>
EOS