[master] 5a3808b Tweak the 32bit mode parameters: We need more stack and cannot use all of it for gzip buffers.

Poul-Henning Kamp phk at varnish-cache.org
Tue Jan 25 11:15:46 CET 2011


commit 5a3808beb1b0df2849a84b8cecad5b9750bb368d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 25 10:10:34 2011 +0000

    Tweak the 32bit mode parameters:  We need more stack and cannot use
    all of it for gzip buffers.

diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index 6c40e8d..d175c49 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -418,7 +418,10 @@ main(int argc, char * const *argv)
 		MCF_ParamSet(cli, "sess_workspace", "16384");
 		cli_check(cli);
 
-		MCF_ParamSet(cli, "thread_pool_stack", "32");
+		MCF_ParamSet(cli, "thread_pool_stack", "65536");
+		cli_check(cli);
+
+		MCF_ParamSet(cli, "gzip_stack_buffer", "4096");
 		cli_check(cli);
 	}
 



More information about the varnish-commit mailing list