20 Byte served
Anand
anands at rediff.co.in
Wed Feb 27 14:44:00 CET 2013
Hi,
Recently we see a weird problem surfaced while serving contents from varnish. A 20 Byte response is seen in the varnish logs whereas no genuine apache request log is seen on the origin server. Suspect is that we receive first 20 Byte response form origin servers and then the connection gets closed but the response is cached as 200 OK and thereafter all request failed because of incorrectly cached content. Below is trace of such event; can someone go through to help me understand the cause.
136
SessionOpen c 10.50.252.5 4319 :80
136 ReqStart c 10.50.252.5 4319 1560877350
136 RxRequest c GET
136 RxURL c /vi/ent/gi60s-4-/230987
136 RxProtocol c HTTP/1.1
136 RxHeader c Host: rest.anand.com
136 RxHeader c Pragma: no-cache
136 RxHeader c Accept: */*
136 RxHeader c Accept-Encoding: deflate, gzip
136 RxHeader c Referer: http://world.anand.com
136 RxHeader c Connection: Close
136 RxHeader c Cipher-Suite:
136 RxHeader c SSL-Version: 0
136 RxHeader c Cipher-Bits: 0
136 VCL_call c recv
136 VCL_acl c MATCH purge 10.50.0.0/16
136 VCL_return c lookup
136 VCL_call c hash
136 Hash c /vi/ent/gi60s-4-/230987
136 Hash c rest.is.anand.com
136 VCL_return c hash
136 VCL_call c miss fetch
136 Backend c 42 isharerest isharerest[1]
136 TTL c 1560877350 RFC 120 -1 -1 1360686521
0 1360686464 0 0
136 VCL_call c fetch
136 TTL c 1560877350 VCL 2592000 -1 -1 1360686521
-0
136 VCL_return c deliver
136 ObjProtocol c HTTP/1.1
136 ObjResponse c OK
136 ObjHeader c Date: Tue, 12 Feb 2013 16:27:44 GMT
136 ObjHeader c Server: Apache
136 ObjHeader c X-Powered-By: PHP/5.1.4
136 ObjHeader c Content-Encoding: gzip
136 ObjHeader c Last-Modified: Tue, 12 Feb 2013 16:28:40
GMT
136 ObjHeader c cache-control: max-age=2592000
136 ObjHeader c Content-Type: text/html; charset=utf-8
136 Gzip c u F - 20 0 80 80 90
136 VCL_call c deliver deliver
136 TxProtocol c HTTP/1.1
136 TxStatus c 200
136 TxResponse c OK
136 TxHeader c Content-Encoding: gzip
136 TxHeader c Last-Modified: Tue, 12 Feb 2013 16:28:40
GMT
136 TxHeader c cache-control: max-age=2592000
136 TxHeader c Content-Type: text/html; charset=utf-8
136 TxHeader c Content-Length: 20
136 TxHeader c Accept-Ranges: bytes
136 TxHeader c Date: Tue, 12 Feb 2013 16:28:40 GMT
136 TxHeader c Connection: close
136 TxHeader c X-Served-By: cdnserver
136 TxHeader c Server: Rediff/3.0.2
136 TxHeader c X-Cache: TCP_MISS
136 Length c 20
136 ReqEnd c 1560877350 1360686520.826237917
1360686520.841027975 0.000053883 0.004394054 0.010396004
Regards,
Anand Shah
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130227/ee7d28ee/attachment.html>
More information about the varnish-misc
mailing list