[Varnish] #69: Error in in command line parsing (-w and INF)

Varnish varnish-bugs at projects.linpro.no
Wed Nov 8 10:12:10 CET 2006


#69: Error in in command line parsing (-w and INF)
----------------------+-----------------------------------------------------
 Reporter:  perbu     |       Owner:  phk
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  varnishd  |     Version:     
 Severity:  major     |    Keywords:     
----------------------+-----------------------------------------------------
 I run varnish like this:
 {{{
 # /usr/sbin/varnishd -a 0.0.0.0:81 -h classic -f
 /var/lib/varnish/config.vcl \
 -T 127.0.0.1:6082 -t 60 -w1,INF,11 -s \
 file,/var/lib/varnish/varnish_storage.bin,32212254720
 }}}

 Notice the ''-w1,INF,11''. However - when I look at "param.show" i see
 thread_pool_max is set to "1" which will break varnish in most production
 environments. Replacing INF with 10000 works around the bug for me.

 {{{
 # telnet localhost 6082
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 param.show
 200 670
 default_ttl          60 [seconds]
 thread_pools         1 [pools]
 thread_pool_max      1 [threads]
 thread_pool_min      1 [threads]
 thread_pool_timeout  10 [seconds]
 overflow_max         100 [%]
 http_workspace       8192 [bytes]
 sess_timeout         5 [seconds]
 pipe_timeout         60 [seconds]
 send_timeout         600 [seconds]
 auto_restart         on [bool]
 fetch_chunksize      128 [kilobytes]
 sendfile_threshold   8192 [bytes]
 vcl_trace            off [bool]
 listen_address       0.0.0.0:81
 listen_depth         1024 [connections]
 srcaddr_hash         1049 [buckets]
 srcaddr_ttl          30 [seconds]
 backend_http11       off [bool]
 client_http11        off [bool]
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/69>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list