[Varnish] #1340: Multiple backend requests per miss

Varnish varnish-bugs at varnish-cache.org
Wed Sep 18 11:29:36 CEST 2013


#1340: Multiple backend requests per miss
----------------------+--------------------
 Reporter:  lkarsten  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  build     |     Version:  trunk
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by lkarsten):

 Retested and confirmed in latest master with conditionals and streaming
 disabled.

 {{{

 127.0.0.1 - - [18/Sep/2013:11:27:17 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 127.0.0.1 - - [18/Sep/2013:11:27:22 +0200] "GET
 /cacheabledata/set_tiny1/index.txt HTTP/1.1" 200 306 "-" "JoeDog/1.00 [en]
 (X11; I; Siege 2.70)"
 }}}

 varnishd (varnish-trunk revision 731d208)

 root at fryer2:~# siege -c 15
 http://fryer1:6081/cacheabledata/set_tiny1/index.txt

 root at fryer1:/# /opt/varnish/sbin/varnishd -T localhost:6082 -a :6081 -f
 /opt/varnish/etc/testsuite.vcl -smalloc,8G -p
 thread_pool_max=3000 -p default_ttl=5 -p thread_pool_min=1000

 {{{
 root at fryer1:~# cat /opt/varnish/etc/testsuite.vcl
 backend default {
         .host = "127.0.0.1";
         .port = "80";
 }

 sub vcl_recv {
     unset req.http.if-modified-since;
     unset req.http.if-none-match;
 }

 sub vcl_backend_response {
     set beresp.do_stream = false;
 }
 root at fryer1:~#
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1340#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list