diff options
-rw-r--r-- | config/varnish64/varnish.inc | 5 | ||||
-rw-r--r-- | config/varnish64/varnish_sync.xml | 1 | ||||
-rw-r--r-- | config/varnish64/varnishstat.php | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc index 949b574e..9ebc7e04 100644 --- a/config/varnish64/varnish.inc +++ b/config/varnish64/varnish.inc @@ -176,6 +176,11 @@ mkdir -p /var/varnish rm /var/varnish/storage.bin 2>/dev/null killall varnishd 2>/dev/null sleep 1 +sysctl kern.ipc.nmbclusters=65536 +sysctl kern.ipc.somaxconn=16384 +sysctl kern.maxfiles=131072 +sysctl kern.maxfilesperproc=104856 +sysctl kern.threads.max_threads_per_proc=4096 /usr/bin/env \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ /usr/local/bin/php -q -d auto_prepend_file=config.inc <<ENDOFF diff --git a/config/varnish64/varnish_sync.xml b/config/varnish64/varnish_sync.xml index 60a221a9..24c8e866 100644 --- a/config/varnish64/varnish_sync.xml +++ b/config/varnish64/varnish_sync.xml @@ -4,7 +4,6 @@ <packagegui> <copyright> <![CDATA[ -/* $Id$ */ /* ========================================================================== */ /* varnish_sync.xml diff --git a/config/varnish64/varnishstat.php b/config/varnish64/varnishstat.php index 8ac545e3..7e36da3e 100644 --- a/config/varnish64/varnishstat.php +++ b/config/varnish64/varnishstat.php @@ -1,5 +1,4 @@ <?php -/* $Id$ */ /* varnishstat_view_logs.php part of pfSense (http://www.pfsense.com/) |