Delay when fetching a page without Content-Length

Adam Sjøgren asjo at koldfront.dk
Sat Mar 31 20:11:45 CEST 2007


On Sat, 31 Mar 2007 17:17:10 +0000, Poul-Henning wrote:

> Which version of Varnish are you running ?

The one from Debian unstable backported to stable, i.e. 1.0.3:

 $ /usr/sbin/varnishd -V
 varnishd (varnish-1.0.3)
 Copyright (c) 2006 Linpro AS / Verdens Gang AS
 $ 

> Can you send me the output from varnishlog for the transaction ?

Sure:

 $ varnishlog
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364221
    13 SessionOpen  c 192.168.1.160 52579
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364224
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364227
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364230
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364233
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364236
    13 ReqStart     c 192.168.1.160 52579 1997137143
    13 RxRequest    c GET
    13 RxURL        c /stats/
    13 RxProtocol   c HTTP/1.0
    13 RxHeader     c User-Agent: Wget/1.10.2
    13 RxHeader     c Accept: */*
    13 RxHeader     c Host: www.koldfront.local
    13 RxHeader     c Connection: Keep-Alive
    13 VCL_call     c recv
    13 VCL_return   c lookup
    13 VCL_call     c miss
    13 VCL_return   c fetch
    17 BackendOpen  b default 127.0.0.1 1027 127.0.0.1 8080
    17 BackendXID   b 1997137143
    13 Backend      c 17 default
    17 TxRequest    b GET
    17 TxURL        b /stats/
    17 TxProtocol   b HTTP/1.1
    17 TxHeader     b User-Agent: Wget/1.10.2
    17 TxHeader     b Accept: */*
    17 TxHeader     b Host: www.koldfront.local
    17 TxHeader     b X-Varnish: 1997137143
    17 TxHeader     b X-Forwarded-for: 192.168.1.160
    17 RxProtocol   b HTTP/1.1
    17 RxStatus     b 401
    17 RxResponse   b Authorization Required
    17 RxHeader     b Date: Sat, 31 Mar 2007 18:03:42 GMT
    17 RxHeader     b Server: Apache/1.3.33 (Debian GNU/Linux) mod_fastcgi/2.4.2 mod_perl/1.29
    17 RxHeader     b WWW-Authenticate: Basic realm="Statistics"
    17 RxHeader     b Transfer-Encoding: chunked
    17 RxHeader     b Content-Type: text/html; charset=iso-8859-1
    13 TTL          c 1997137143 RFC 120 1175364222 1175364222 0 0 0
    13 VCL_call     c fetch
    13 VCL_return   c pass
    13 RxProtocol   c HTTP/1.1
    13 RxStatus     c 401
    13 RxResponse   c Authorization Required
    13 RxHeader     c Date: Sat, 31 Mar 2007 18:03:42 GMT
    13 RxHeader     c Server: Apache/1.3.33 (Debian GNU/Linux) mod_fastcgi/2.4.2 mod_perl/1.29
    13 RxHeader     c WWW-Authenticate: Basic realm="Statistics"
    13 RxHeader     c Content-Type: text/html; charset=iso-8859-1
    13 RxHeader     c X-Varnish: 1997137143
    13 RxHeader     c X-Forwarded-for: 192.168.1.160
    13 RxHeader     c Transfer-Encoding: chunked
    17 BackendReuse b default
    13 ReqEnd       c 1997137143 1175364222.294967044 1175364238.516689601 0.000751112 0.001383653 16.220338904
     0 StatAddr       192.168.1.160 0 8161 36 37 0 20 11 11486 92507
    13 HttpError    c Received errno 104
    13 SessionClose c no request
    13 StatSess     c 192.168.1.160 52579 16 1 1 0 1 0 322 529
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364239
     0 CLI            Rd ping
     0 CLI            Wr 0 200 PONG 1175364242
 ^C
 $ 

(If I run ngrep I see the request being sent to Apache and the reply
back immediately, and then the pause).


Let me know if I should supply more information.


  Best regards,

    Adam

-- 
 "we push onward. to you, it is 2005, to us, it is            Adam Sjøgren
  2011. we are always far ahead."                        asjo at koldfront.dk




More information about the varnish-misc mailing list