Changes

Jump to navigation Jump to search

Varnish

831 bytes added, 21:04, 10 October 2014
Varnish 3 Configuration
</pre>
== VARNISH_Max_THREADS VARNISH_MAX_THREADS ==
For Varnish 3.0 the default value is 500 (according to man page). If you have a very busy server, you may want to raise this value. Raising this to very high levels may cause some issues, so you want to watch the server after you change this value to make sure varnish doesn't go all crazy on you. This can be found and configured in '''/etc/sysconfig/varnish'''
<pre>VARNISH_MAX_THREADS=500</pre> = =VARNISH_THREAD_TIMEOUT== For Varnish 3.0 the default value is 300 seconds (according to man page). If you prefer to kill your threads while they are young, you can lower the value. If you want your threads to have a long, fulfilling life and experience all the static files they can, raise this value. This can be found and configured in '''/etc/sysconfig/varnish''' <pre>VARNISH_THREAD_TIMEOUT=300</pre>   = Varnish backend Misc =section =
To configure Varnish using the '''file''' backend, do nothing, it's the default. However, you can change the size of RAM to use by changing the "1GB" value to whatever is appropriate.
<pre>

Navigation menu