[Varnish] #1440: e00019.vtc occasionally trips an assert

Varnish varnish-bugs at varnish-cache.org
Fri Feb 28 11:51:37 CET 2014


#1440: e00019.vtc occasionally trips an assert
----------------------+----------------------------------------
 Reporter:  martin    |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect    |      Status:  reopened
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+----------------------------------------

Comment (by martin):

 I have analyzed this, and found the timeout failure to be caused by a test
 design issue rather than a Varnish problem.

 When finishing a fetch, the BO is set to BOS_FINISHED before the fetch
 thread calls VDI_RecycleFd. If the second (esi-included object) fetch is
 issued in this window, it'll create a new backend connection, which the
 varnishtest server can't cope with. This causes a timeout failure.

 One solution could be to alter the test case having the server say
 "Connection: close" on the first reply and do an accept between the
 backend requests.

 Martin

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1440#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list