r1439 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Wed May 16 22:03:32 CEST 2007

Author: des
Date: 2007-05-16 22:03:32 +0200 (Wed, 16 May 2007)
New Revision: 1439

Improve the descriptions of some of the options and parameters.

Modified: trunk/varnish-cache/bin/varnishd/varnishd.1
--- trunk/varnish-cache/bin/varnishd/varnishd.1	2007-05-16 20:02:08 UTC (rev 1438)
+++ trunk/varnish-cache/bin/varnishd/varnishd.1	2007-05-16 20:03:32 UTC (rev 1439)
@@ -64,13 +64,17 @@
 .Ar port .
 .Ar address
-can be a host name, an IPv4 dotted-quad, or an IPv6 address enclosed
-in square brackets.
+can be a host name
+.Pq Dq localhost ,
+an IPv4 dotted-quad
+.Pq Dq ,
+or an IPv6 address enclosed in square brackets
+.Pq Dq [::1] .
 .Ar address
 is not specified,
-will listen on all available interfaces.
+will listen on all available IPv4 and IPv6 interfaces.
 .Ar port
 is not specified, the default HTTP port as listed in
@@ -107,6 +111,9 @@
 .It Fl f Ar config
 Use the specified VCL configuration file instead of the builtin
+.Xr vcl 7
+for details on VCL syntax.
 .It Fl h Ar type Ns Op , Ns Ar options
 Specifies the hash algorithm.
@@ -138,6 +145,9 @@
 for a list of management commands.
 .It Fl t Ar ttl
 Specifies a hard minimum time to live for cached documents.
+This is a shortcut for specifying the
+.Va default_ttl
+run-time parameter.
 .It Fl V
 Display the version number and exit.
 .It Fl w Ar min Ns Op , Ns Ar max Ns Op , Ns Ar timeout
@@ -146,31 +156,20 @@
 but no more than
 .Ar max
 worker threads with the specified idle timeout.
+This is a shortcut for specifying the
+.Va thread_pool_min ,
+.Va thread_pool_max
+.Va thread_pool_timeout
+run-time parameters.
-If only
-.Ar min
-is specified,
-will start
-.Ar min
-threads and will not kill idle threads.
-If both
-.Ar min
+If only one number is specified,
+.Va thread_pool_min
-.Ar max
-are specified, the number of threads is allowed to vary within the
-specified range according to system load.
-Idle threads are killed after
-.Ar timeout
-The default values are 1 for
-.Ar min ,
-1000 for
-.Ar max ,
-and 10 for
-.Ar timeout .
+.Va thread_pool_max
+are both set to this number, and
+.Va thread_pool_timeout
+has no effect.
 .Ss Hash Algorithms
 The following hash algorithms are available:
@@ -439,7 +438,9 @@
 The default is 1.
 .It Va thread_pool_timeout
-The time to wait before killing an idle worker thread.
+The amount of time a worker thread can be idle before it is killed,
+when the number of worker threads exceeds
+.Va thread_pool_min .
 The default is 120 seconds.
 .It Va vcl_trace

More information about the varnish-commit mailing list