[Varnish] #796: ban lurker deadlock in varnish 2.1.3

Varnish varnish-bugs at varnish-cache.org
Mon Oct 18 17:23:39 CEST 2010

#796: ban lurker deadlock in varnish 2.1.3
 Reporter:  ryan.krebs           |        Owner:  phk   
     Type:  defect               |       Status:  closed
 Priority:  normal               |    Milestone:        
Component:  varnishd             |      Version:  2.1.3 
 Severity:  normal               |   Resolution:  fixed 
 Keywords:  ban lurker deadlock  |  
Changes (by phk):

  * status:  new => closed
  * resolution:  => fixed


 (In [5432]) There is a potential lock-order inversion between a worker
 and the ban-lurker and there is nothing we can do about it:  They
 come from opposite ends of the world.

 Resolve this by using a TryLock in the ban-lurker and abandon the
 attempt if we fail to get the lock.

 Fixes:  #796

Ticket URL: </ticket/796#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list