Chrome -Hit send timeout

Reinis Rozitis r at roze.lv
Thu Mar 8 15:44:19 CET 2012


Hello,
I have a pretty weird problem with Chrome (and only chrome since FF/IE/Opera 
work fine) randomly not loading image files from varnish - out of 100 
pictures (in one site) usually 2-3 are broken until next refresh and it 
affects only varnish 3.x but 2.1.5 works fine.


I tracked down from varnish logs that according to varnishncsa that 
particular requests while being 200 OK doesnt have content-length:

10.30.0.69 - - [08/Mar/2012:16:11:25 +0200] "GET 
http://10.0.0.2/gallery/41d1403557279cf75b0bb6e36fe0a4e1/02/309/262/v1/l_251309262.jpg 
HTTP/1.1" 200 - "http://10.0.0.1/pic_test.php" "Mozilla/5.0 (Windows NT 6.1; 
WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 
Safari/535.11"


But in the the full log I hit send timeout (while according to CLI 
'send_timeout 600 [seconds]') also it happens instantly:

2738 Debug        c Hit send timeout, wrote = 77976/108304; retrying
2738 Debug        c Write error, retval = -1, len = 30328, errno = Resource 
temporarily unavailable

---------------------------------------------

2738 ReqStart     c 10.30.0.69 51752 2104587141
2738 RxRequest    c GET
2738 RxURL        c 
/gallery/41d1403557279cf75b0bb6e36fe0a4e1/02/309/262/v1/l_251309262.jpg
2738 RxProtocol   c HTTP/1.1
2738 RxHeader     c Host: 10.0.0.2
2738 RxHeader     c Connection: keep-alive
2738 RxHeader     c User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) 
AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11
2738 RxHeader     c Accept: */*
2738 RxHeader     c Referer: http://10.0.0.1/pic_test.php
2738 RxHeader     c Accept-Encoding: gzip,deflate,sdch
2738 RxHeader     c Accept-Language: en-US,en;q=0.8
2738 RxHeader     c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
2738 VCL_call     c recv lookup
2738 VCL_call     c hash
2738 Hash         c 
/sgallery/41d1403557279cf75b0bb6e36fe0a4e1/02/309/262/v1/l_251309262.jpg
2738 VCL_return   c hash
2738 VCL_call     c miss fetch
2738 Backend      c 2689 c02 c02[1](10.0.0.208,,80)
2738 VCL_call     c fetch
2738 TTL          c 2104587141 VCL 315360000 30 -1 1331215886 -0
2738 VCL_return   c deliver
2738 VCL_call     c deliver deliver
2738 TxProtocol   c HTTP/1.1
2738 TxStatus     c 200
2738 TxResponse   c OK
2738 TxHeader     c Date: Thu, 08 Mar 2012 14:11:25 GMT
2738 TxHeader     c Content-Type: image/jpeg
2738 TxHeader     c Last-Modified: Thu, 08 Mar 2012 14:11:23 GMT
2738 TxHeader     c Expires: Thu, 31 Dec 2037 23:55:55 GMT
2738 TxHeader     c Cache-Control: max-age=315360000
2738 TxHeader     c Content-Length: 108009
2738 TxHeader     c Date: Thu, 08 Mar 2012 14:11:25 GMT
2738 TxHeader     c Age: 0
2738 TxHeader     c Connection: keep-alive
2738 Debug        c Hit send timeout, wrote = 77976/108304; retrying
2738 Debug        c Write error, retval = -1, len = 30328, errno = Resource 
temporarily unavailable
2738 ReqEnd       c 2104587141 1331215885.872925997 1331215885.875815868 
4.831786394 0.002806425 0.000083447
2738 StatSess     c 10.30.0.69 51752 5 1 2 0 0 2 590 225326



Any ideas?

rr





More information about the varnish-misc mailing list