[3.0] efaea24 Make the default -s file size 100MB rather than 50% of free disk space

Tollef Fog Heen tfheen at varnish-cache.org
Thu Sep 22 14:01:54 CEST 2011


commit efaea244aecc402a9fe92e9820ae50572fceb4fc
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Tue Sep 6 13:51:04 2011 +0200

    Make the default -s file size 100MB rather than 50% of free disk space

diff --git a/bin/varnishd/storage_file.c b/bin/varnishd/storage_file.c
index ea78526..7687179 100644
--- a/bin/varnishd/storage_file.c
+++ b/bin/varnishd/storage_file.c
@@ -116,7 +116,7 @@ smf_initfile(struct stevedore *st, struct smf_sc *sc, const char *size)
 	/* XXX: force block allocation here or in open ? */
 }
 
-static const char default_size[] = "50%";
+static const char default_size[] = "100M";
 static const char default_filename[] = ".";
 
 static void



More information about the varnish-commit mailing list