Skip to content

Instantly share code, notes, and snippets.

@ijin
Created July 3, 2012 10:30
Show Gist options
  • Save ijin/3038946 to your computer and use it in GitHub Desktop.
Save ijin/3038946 to your computer and use it in GitHub Desktop.
tuningathon4 /etc/sysconfig/varnish
NFILES=131072
MEMLOCK=82000
RELOAD_VCL=1
DAEMON_OPTS="-a :3000 \
-T :6082 \
-f /etc/varnish/default.vcl \
-t 120 \
-S /etc/varnish/secret \
-s malloc,64M \
-p ban_lurker_sleep=0.01 \
-p thread_pool_stack=262144 \
-p thread_pool_add_delay=2 \
-p thread_pools=2 \
-p thread_pool_min=100 \
-p thread_pool_max=200"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment