Skip to content

Instantly share code, notes, and snippets.

@prashanthrajagopal
Created October 22, 2014 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prashanthrajagopal/4df711376369972a37ff to your computer and use it in GitHub Desktop.
Save prashanthrajagopal/4df711376369972a37ff to your computer and use it in GitHub Desktop.
/etc/default/varnish
# Should we start varnishd at boot? Set to "no" to disable.
START=yes
# Maximum number of open files (for ulimit -n)
NFILES=131072
# Maximum locked memory size (for ulimit -l)
# Used for locking the shared memory log in memory. If you increase log size,
# you need to increase this number as well
MEMLOCK=82000
DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-t 120 \
-s malloc,256m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment