No title delete lock Revision 376430366266 (Sat Nov 19 2011 at 22:58) - Diff Link to this snippet: https://friendpaste.com/1Zvj1XkX75eKqdzrJQZcfK Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839# Configuration file for varnish## /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this# shell script fragment.## Maximum number of open files (for ulimit -n)NFILES=131072# Default varnish instance name is the local nodename. Can be overridden with# the -n switch, to have more instances on a single server.INSTANCE=$(uname -n)## Listen on port 5984, administration on localhost:6082, and forward to# one content server selected by the vcl file, based on the request. Use a# fixed-size cache file.#MEMLOCK=90000DAEMON_OPTS="-a :5984 \ -T localhost:6082 \ -u varnish \ -g varnish \ -p thread_pool_max=8000 \ -p thread_pools=8 \ -p thread_pool_min=500 \ -p thread_pool_add_delay=1 \ -p obj_workspace=4096 \ -p sess_workspace=131072 \ -p listen_depth=4096 \ -h classic,500009 \ -p lru_interval=60 \ -p ping_interval=2 \ -p sess_timeout=10 \ -p max_restarts=2 \ -f /etc/varnish/default.vcl \ -s file,/srv/varnish/storage.bin,400GB"