[master] 5f8041a Reduce http_resp_size to 8k on 32 bit
Tollef Fog Heen
tfheen at varnish-cache.org
Tue Mar 8 13:10:21 CET 2011
commit 5f8041ac0745ba30e9190a69ec7b5d8ac2d4c1ec
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Tue Mar 8 13:06:01 2011 +0100
Reduce http_resp_size to 8k on 32 bit
http_resp_size is allocated on the thread_pool_workspace. This means
we will hit assert errors if http_resp_size is larger than the
thread_pool_workspace. 8k should be enough in most cases, from a
light sample of web sites in the wild.
diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index 9583cc4..f635322 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -421,6 +421,9 @@ main(int argc, char * const *argv)
MCF_ParamSet(cli, "thread_pool_workspace", "16384");
cli_check(cli);
+ MCF_ParamSet(cli, "http_resp_size", "8192");
+ cli_check(cli);
+
MCF_ParamSet(cli, "thread_pool_stack", "32bit");
cli_check(cli);
More information about the varnish-commit
mailing list