Varnish 2.1.2 returning old version in cache

Pablo Borges pablort at gmail.com
Thu Nov 11 18:39:56 CET 2010


Hey there,

I found out that one of my varnish clusters (still running 2.1.2) responded
an old version of an object in between hundreds of requests.

The expected behaviour is an error 500, but somehow the object (which has a
60s ttl, btw) was returned. I wonder if this is a known bug that has been
fixed.

Here's my wget output (cleaned out a bit) in sequence:

--2010-11-11 15:10:00--

HTTP request sent, awaiting response...
  HTTP/1.1 500 Internal Server Error
  Server: Varnish
  Retry-After: 0
  Content-Type: text/html; charset=utf-8
  Content-Length: 359
  Date: Thu, 11 Nov 2010 17:10:01 GMT
  Connection: close
  X-Cache: MISS
  X-Cache-Hits: 0
  X-Age: 1
2010-11-11 15:10:01 ERROR 500: Internal Server Error.


--2010-11-11 15:10:32--


HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Vary: Host,Accept-Encoding
  Expires: Thu, 11 Nov 2010 15:32:16 GMT
  Cache-Control: max-age=60, public
  Content-Type: text/html; charset=UTF-8
  Content-Length: 36294
  Date: Thu, 11 Nov 2010 17:10:32 GMT
  Connection: keep-alive
  X-Cache: HIT
  X-Cache-Hits: 4
  X-Age: 5956
Length: 36294 (35K) [text/html]
Saving to: `/dev/null'


--2010-11-11 15:10:40--

HTTP request sent, awaiting response...
  HTTP/1.1 500 Internal Server Error
  Server: Varnish
  Retry-After: 0
  Content-Type: text/html; charset=utf-8
  Content-Length: 359
  Date: Thu, 11 Nov 2010 17:10:41 GMT
  Connection: close
  X-Cache: MISS
  X-Cache-Hits: 0
  X-Age: 0
2010-11-11 15:10:41 ERROR 500: Internal Server Error.


--2010-11-11 15:10:42--

HTTP request sent, awaiting response...
  HTTP/1.1 500 Internal Server Error
  Server: Varnish
  Retry-After: 0
  Content-Type: text/html; charset=utf-8
  Content-Length: 359
  Date: Thu, 11 Nov 2010 17:10:43 GMT
  Connection: close
  X-Cache: MISS
  X-Cache-Hits: 0
  X-Age: 0
2010-11-11 15:10:43 ERROR 500: Internal Server Error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.varnish-cache.org/pipermail/varnish-misc/attachments/20101111/b23bdd68/attachment.html>


More information about the varnish-misc mailing list