[master] aa526ab Harmonise default storage across distributions.
Lasse Karstensen
lkarsten at varnish-software.com
Thu Mar 27 17:16:06 CET 2014
commit aa526abd8f81b7ec9a8bb8803fdbb6a36fbff1ce
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date: Thu Mar 27 17:13:40 2014 +0100
Harmonise default storage across distributions.
The standard storage in our other Linux packages is 256 MB malloc.
Change the default on Redhat systems to match this.
diff --git a/redhat/varnish.sysconfig b/redhat/varnish.sysconfig
index aa0f8ba..6aa2354 100644
--- a/redhat/varnish.sysconfig
+++ b/redhat/varnish.sysconfig
@@ -81,15 +81,12 @@ VARNISH_MAX_THREADS=1000
# # Idle timeout for worker threads
VARNISH_THREAD_TIMEOUT=120
#
-# # Cache file location
-VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
-#
# # Cache file size: in bytes, optionally using k / M / G / T suffix,
# # or in percentage of available disk space using the % suffix.
-VARNISH_STORAGE_SIZE=1G
+VARNISH_STORAGE_SIZE=256M
#
# # Backend storage specification
-VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
+VARNISH_STORAGE="malloc,${VARNISH_STORAGE_SIZE}"
#
# # Default TTL used when the backend does not specify one
VARNISH_TTL=120
More information about the varnish-commit
mailing list