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

Varnish varnish-bugs at varnish-cache.org
Wed Nov 3 10:06:21 CET 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  |  
---------------------------------+------------------------------------------

Comment(by tfheen):

 (In [5495]) Merge r5432: Fix lock-order inversion in ban lurker thread

 There is a potential lock-order inversion between a worker thread
 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:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list