Hi! I am using varnishd (varnish-2.1.4 SVN 5447M) and I am having a problem if the backend returns a 304 error as this results in varnish hanging for 60s and then returning a 503.
I put the logfile at https://gist.github.com/33a1dd74a352745d7cc2, and the relevant lines are this (done with varnishlog -o): 14 ObjProtocol c HTTP/1.1 14 ObjStatus c 304 14 ObjResponse c Not Modified 14 ObjHeader c Server: Zope/(2.12.11, python 2.6.5, linux2) ZServer/1.1 14 ObjHeader c Date: Sun, 19 Dec 2010 17:02:18 GMT 14 ObjHeader c X-Cache-Rule: product.simplelayout 14 ObjHeader c ETag: |Authenticated;Internal;Member|****|1292695386.0 14 ObjHeader c X-Cache-Operation: plone.app.caching.weakCaching 14 ObjHeader c X-Varnish-Action: FETCH (pass - not cacheable) 14 FetchError c eof read_error: 11 14 VCL_call c error deliver 14 VCL_call c deliver deliver 14 TxProtocol c HTTP/1.1 14 TxStatus c 503 14 TxResponse c Service Unavailable So the backend returns a 304 without a content-length header. You can see my varnish vcl here: https://gist.github.com/c3211681ce7dc0681bdc The result of this is that every second reload of a page results in a 503. Does somebody know if I am doing something wrong or if that's a bug either in varnish or Plone? Thanks in advance! Christian -- Christian Scholz Homepage: http://comlounge.net COM.lounge GmbH http://mrtopf.de/blog Hanbrucher Str. 33 http://twitter.com/mrtopf 52064 Aachen Skype: HerrTopf Tel: +49 241 400 730 0 �[email protected] Fax: +49 241 979 00 850 IRC: MrTopf Podcasts: Der OpenWeb-Podcast (http://openwebpodcast.de) Data Without Borders (http://datawithoutborders.net) Politisches: http://politfunk.de/ _______________________________________________ varnish-misc mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
