Skip to content

Instantly share code, notes, and snippets.

@kovyrin
Created June 4, 2010 21:51
Show Gist options
  • Save kovyrin/425989 to your computer and use it in GitHub Desktop.
Save kovyrin/425989 to your computer and use it in GitHub Desktop.
/opt/varnish/sbin/varnishd \
-a :8080 \
-T localhost:6082 \
-P /var/run/varnish.pid \
-w 20,100,300 \
-s file,/varnish/disk1,120000M \
-s file,/varnish/disk2,120000M \
-s file,/varnish/disk3,120000M \
-s file,/varnish/disk4,120000M \
-s file,/varnish/disk5,120000M \
-f /opt/varnish/etc/varnish/default.vcl \
-u nobody -F -p thread_pool_min 50 -p thread_pool_max 4000 -p thread_pools 16 -p thread_pool_add_delay 2 -p listen_depth 4096 \
-p session_linger 50/100/150 -p lru_interval 20 -h classic,500009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment