[PATCH] Switch default storage allocator to malloc, limited to 100MB

Tollef Fog Heen tfheen at varnish-software.com
Tue Sep 6 13:31:03 CEST 2011


---
 bin/varnishd/varnishd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index 5fb054a..8ff592c 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -349,7 +349,7 @@ main(int argc, char * const *argv)
 	const char *n_arg = NULL;
 	const char *P_arg = NULL;
 	const char *S_arg = NULL;
-	const char *s_arg = "file";
+	const char *s_arg = "malloc,100M";
 	int s_arg_given = 0;
 	const char *T_arg = NULL;
 	char *p, *vcl = NULL;
-- 
1.7.5.4





More information about the varnish-dev mailing list