warmup with curl not working

me at ibotty.net me at ibotty.net
Thu Nov 24 20:43:48 CET 2011


hi,

> Here comes the standard answer :)

thanks for your nice hint ;). i forgot to attach the log output.

the missing / before test was a typo (in my cutting down my file). i get
pretty good hitration (around .9), so this is not the problem. also, i
test for /en/ and not /test/...



    0 CLI          - Rd vcl.load "boot" ./vcl.a_DPMqHA.so
    0 CLI          - Wr 200 36 Loaded "./vcl.a_DPMqHA.so" as "boot"
    0 CLI          - Rd vcl.use "boot"
    0 CLI          - Wr 200 0
    0 CLI          - Rd start
    0 Debug        - "Acceptor is epoll"
    0 CLI          - Wr 200 0
    0 WorkThread   - 0x7f77e4cfeab0 start
    0 WorkThread   - 0x7f77e44fdab0 start
    0 CLI          - Rd ping
    0 CLI          - Wr 200 19 PONG 1322163341 1.0
   14 BackendOpen  b default 127.0.0.1 52776 127.0.0.1 81
   14 TxRequest    b GET
   14 TxURL        b /en/
   14 TxProtocol   b HTTP/1.1
   14 TxHeader     b User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
   14 TxHeader     b Host: localhost
   14 TxHeader     b Accept: */*
   14 TxHeader     b X-Refresh: DOIT
   14 TxHeader     b X-Varnish: 547875415
   14 TxHeader     b Accept-Encoding: gzip
   14 RxProtocol   b HTTP/1.1
   14 RxStatus     b 200
   14 RxResponse   b OK
   14 RxHeader     b Date: Thu, 24 Nov 2011 19:35:38 GMT
   14 RxHeader     b Server: Apache/2.2.16 (Debian)
   14 RxHeader     b X-Powered-By: PHP/5.3.3-7+squeeze3
   14 RxHeader     b Set-Cookie: language=0; path=/
   14 RxHeader     b Set-Cookie: language=1; path=/
   14 RxHeader     b Vary: Accept-Encoding
   14 RxHeader     b Content-Encoding: gzip
   14 RxHeader     b Content-Length: 8842
   14 RxHeader     b Content-Type: text/html; charset=UTF-8
   14 Fetch_Body   b 4(length) cls 0 mklen 1
   14 Length       b 8842
   14 BackendReuse b default
   12 SessionOpen  c 127.0.0.1 33137 :80
   12 ReqStart     c 127.0.0.1 33137 547875415
   12 RxRequest    c GET
   12 RxURL        c /en/
   12 RxProtocol   c HTTP/1.1
   12 RxHeader     c User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
   12 RxHeader     c Host: localhost
   12 RxHeader     c Accept: */*
   12 RxHeader     c X-Refresh: DOIT
   12 VCL_call     c recv lookup
   12 VCL_call     c hash
   12 Hash         c /en/
   12 Hash         c localhost
   12 VCL_return   c hash
   12 VCL_call     c miss fetch
   12 Backend      c 14 default default
   12 TTL          c 547875415 RFC 120 -1 -1 1322163342 0 1322163338 0 0
   12 VCL_call     c fetch
   12 TTL          c 547875415 VCL 123 86400 -1 1322163339 -3
   12 TTL          c 547875415 VCL 50403 86400 -1 1322163339 -3
   12 VCL_return   c deliver
   12 ObjProtocol  c HTTP/1.1
   12 ObjResponse  c OK
   12 ObjHeader    c Date: Thu, 24 Nov 2011 19:35:38 GMT
   12 ObjHeader    c Server: Apache/2.2.16 (Debian)
   12 ObjHeader    c X-Powered-By: PHP/5.3.3-7+squeeze3
   12 ObjHeader    c Vary: Accept-Encoding
   12 ObjHeader    c Content-Encoding: gzip
   12 ObjHeader    c Content-Type: text/html; charset=UTF-8
   12 Gzip         c u F - 8842 80878 80 80 70670
   12 VCL_call     c deliver deliver
   12 TxProtocol   c HTTP/1.1
   12 TxStatus     c 200
   12 TxResponse   c OK
   12 TxHeader     c Server: Apache/2.2.16 (Debian)
   12 TxHeader     c X-Powered-By: PHP/5.3.3-7+squeeze3
   12 TxHeader     c Vary: Accept-Encoding
   12 TxHeader     c Content-Type: text/html; charset=UTF-8
   12 TxHeader     c Transfer-Encoding: chunked
   12 TxHeader     c Date: Thu, 24 Nov 2011 19:35:42 GMT
   12 TxHeader     c X-Varnish: 547875415
   12 TxHeader     c Age: 0
   12 TxHeader     c Via: 1.1 varnish
   12 TxHeader     c Connection: keep-alive
   12 Gzip         c U D - 8842 80878 80 80 70670
   12 Length       c 65536
   12 ReqEnd       c 547875415 1322163338.951378584 1322163342.057184219
0.000226021 3.105214834 0.000590801
   12 SessionClose c EOF
   12 StatSess     c 127.0.0.1 33137 3 1 1 0 0 1 287 65536
   12 SessionOpen  c 127.0.0.1 33139 :80
   12 ReqStart     c 127.0.0.1 33139 547875416
   12 RxRequest    c GET
   12 RxURL        c /en/
   12 RxProtocol   c HTTP/1.1
   12 RxHeader     c User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
   12 RxHeader     c Host: localhost
   12 RxHeader     c Accept: */*
   12 VCL_call     c recv lookup
   12 VCL_call     c hash
   12 Hash         c /en/
   12 Hash         c localhost
   12 VCL_return   c hash
   12 Hit          c 547875415
   12 VCL_call     c hit deliver
   12 VCL_call     c deliver deliver
   12 TxProtocol   c HTTP/1.1
   12 TxStatus     c 200
   12 TxResponse   c OK
   12 TxHeader     c Server: Apache/2.2.16 (Debian)
   12 TxHeader     c X-Powered-By: PHP/5.3.3-7+squeeze3
   12 TxHeader     c Vary: Accept-Encoding
   12 TxHeader     c Content-Type: text/html; charset=UTF-8
   12 TxHeader     c Transfer-Encoding: chunked
   12 TxHeader     c Date: Thu, 24 Nov 2011 19:35:42 GMT
   12 TxHeader     c X-Varnish: 547875416 547875415
   12 TxHeader     c Age: 0
   12 TxHeader     c Via: 1.1 varnish
   12 TxHeader     c Connection: keep-alive
   12 Gzip         c U D - 8842 80878 80 80 70670
   12 Length       c 65536
   12 ReqEnd       c 547875416 1322163342.062689304 1322163342.063267231
0.000050068 0.000052691 0.000525236
   12 SessionClose c EOF
   12 StatSess     c 127.0.0.1 33139 0 1 1 0 0 0 297 65536
    0 CLI          - Rd ping
    0 CLI          - Wr 200 19 PONG 1322163344 1.0
   14 TxRequest    b GET
   14 TxURL        b /en/
   14 TxProtocol   b HTTP/1.1
   14 TxHeader     b Host: test.anost.net
   14 TxHeader     b User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0)
Gecko/20100101 Firefox/8.0
   14 TxHeader     b Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
   14 TxHeader     b Accept-Language: en-us,en;q=0.5
   14 TxHeader     b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
   14 TxHeader     b DNT: 1
   14 TxHeader     b Authorization: Basic
ZGV2LXVzZXI6VzRjSDFUSWJZQXJTbEZMZE1YYW8zNXFXdkFhUFcyRE0=
   14 TxHeader     b X-Varnish: 547875417
   14 TxHeader     b Accept-Encoding: gzip
   14 RxProtocol   b HTTP/1.1
   14 RxStatus     b 200
   14 RxResponse   b OK
   14 RxHeader     b Date: Thu, 24 Nov 2011 19:35:42 GMT
   14 RxHeader     b Server: Apache/2.2.16 (Debian)
   14 RxHeader     b X-Powered-By: PHP/5.3.3-7+squeeze3
   14 RxHeader     b Set-Cookie: language=1; path=/
   14 RxHeader     b Set-Cookie: language=1; path=/
   14 RxHeader     b Vary: Accept-Encoding
   14 RxHeader     b Content-Encoding: gzip
   14 RxHeader     b Content-Length: 8800
   14 RxHeader     b Content-Type: text/html; charset=UTF-8
   14 Fetch_Body   b 4(length) cls 0 mklen 1
   14 Length       b 8800
   14 BackendReuse b default
   12 SessionOpen  c 91.65.242.21 60794 :80
   12 ReqStart     c 91.65.242.21 60794 547875417
   12 RxRequest    c GET
   12 RxURL        c /en/
   12 RxProtocol   c HTTP/1.1
   12 RxHeader     c Host: test.anost.net
   12 RxHeader     c User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0)
Gecko/20100101 Firefox/8.0
   12 RxHeader     c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
   12 RxHeader     c Accept-Language: en-us,en;q=0.5
   12 RxHeader     c Accept-Encoding: gzip, deflate
   12 RxHeader     c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
   12 RxHeader     c DNT: 1
   12 RxHeader     c Connection: keep-alive
   12 RxHeader     c Authorization: Basic
ZGV2LXVzZXI6VzRjSDFUSWJZQXJTbEZMZE1YYW8zNXFXdkFhUFcyRE0=
   12 VCL_call     c recv lookup
   12 VCL_call     c hash
   12 Hash         c /en/
   12 Hash         c test.anost.net
   12 VCL_return   c hash
   12 VCL_call     c miss fetch
   12 Backend      c 14 default default
   12 TTL          c 547875417 RFC 120 -1 -1 1322163346 0 1322163342 0 0
   12 VCL_call     c fetch
   12 TTL          c 547875417 VCL 123 86400 -1 1322163343 -3
   12 TTL          c 547875417 VCL 50403 86400 -1 1322163343 -3
   12 VCL_return   c deliver
   12 ObjProtocol  c HTTP/1.1
   12 ObjResponse  c OK
   12 ObjHeader    c Date: Thu, 24 Nov 2011 19:35:42 GMT
   12 ObjHeader    c Server: Apache/2.2.16 (Debian)
   12 ObjHeader    c X-Powered-By: PHP/5.3.3-7+squeeze3
   12 ObjHeader    c Vary: Accept-Encoding
   12 ObjHeader    c Content-Encoding: gzip
   12 ObjHeader    c Content-Type: text/html; charset=UTF-8
   12 Gzip         c u F - 8800 80869 80 80 70329
   12 VCL_call     c deliver deliver
   12 TxProtocol   c HTTP/1.1
   12 TxStatus     c 200
   12 TxResponse   c OK
   12 TxHeader     c Server: Apache/2.2.16 (Debian)
   12 TxHeader     c X-Powered-By: PHP/5.3.3-7+squeeze3
   12 TxHeader     c Vary: Accept-Encoding
   12 TxHeader     c Content-Encoding: gzip
   12 TxHeader     c Content-Type: text/html; charset=UTF-8
   12 TxHeader     c Content-Length: 8800
   12 TxHeader     c Accept-Ranges: bytes
   12 TxHeader     c Date: Thu, 24 Nov 2011 19:35:46 GMT
   12 TxHeader     c X-Varnish: 547875417
   12 TxHeader     c Age: 0
   12 TxHeader     c Via: 1.1 varnish
   12 TxHeader     c Connection: keep-alive
   12 Length       c 8800
   12 ReqEnd       c 547875417 1322163342.933949709 1322163346.017340183
0.000137091 3.083226681 0.000163794
   12 Debug        c herding
   12 Interrupted  c ReqStart

[...] from there on other requests (to different paths).


thanks for your help.
 tobias florek




More information about the varnish-misc mailing list