Mailing List Archive

r993 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2006-09-15 12:30:27 +0200 (Fri, 15 Sep 2006)
New Revision: 993

Modified:
trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Disable session_grace for now.

It is not clear if this is a benefit or not. There seems to be a significant
(100msec ?) inter-request gap and seeting the grace period that long
means tying up worker threads doing basically nothing.

Setting a short timeout (10msec) results in an extra system call which
practically never does anything good.

Unless benefit is shown, this stuff should be removed again.


Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c 2006-09-15 10:24:49 UTC (rev 992)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c 2006-09-15 10:30:27 UTC (rev 993)
@@ -321,7 +321,8 @@
{ "session_grace", tweak_session_grace,
"How long a workerthread waits for a new request to arrive "
"before sending the session to the herder.\n"
- "Default is 10 msec.", "10" },
+ "Units are milliseconds, zero disables.\n"
+ "Default is disabled.", "0" },
{ NULL, NULL, NULL }
};