[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-bugs
Subject:    [Varnish] #796: ban lurker deadlock in varnish 2.1.3
From:       varnish-bugs () varnish-cache ! org (Varnish)
Date:       2010-11-03 9:06:21
Message-ID: 056.ced77188b3ca854803ce2cbd8e122ddf () varnish-cache ! org
[Download RAW message or body]

#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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic