summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/varnish/files/varnishd.confd')
-rw-r--r--www-servers/varnish/files/varnishd.confd5
1 files changed, 5 insertions, 0 deletions
diff --git a/www-servers/varnish/files/varnishd.confd b/www-servers/varnish/files/varnishd.confd
index c2eb140db768..a0d49ac5b366 100644
--- a/www-servers/varnish/files/varnishd.confd
+++ b/www-servers/varnish/files/varnishd.confd
@@ -7,3 +7,8 @@ VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80"
# arguments passed to varnishncsa
# please see the varnishncsa man page for more options
VARNISHNCSA_ARGS="-c -a -w /var/log/varnish/access.log"
+
+# We need to increase the number of open files (-n)
+# and the maximum amount off locked memory (-l)
+# See bug #459142
+rc_ulimit="-n 32786 -l 82000"