[Varnish] #1045: Ban lurker doesn't work anymore

Varnish varnish-bugs at varnish-cache.org
Sat Oct 29 08:12:16 CEST 2011

#1045: Ban lurker doesn't work anymore
 Reporter:  Yvan        |        Type:  defect  
   Status:  new         |    Priority:  high    
Milestone:              |   Component:  varnishd
  Version:  3.0.2       |    Severity:  major   
 Keywords:  ban lurker  |  
 I've just upgraded from 3.0.1 to 3.0.2, using Varnish's Debian packages
 (deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0).

 It seems that the ban lurker isn't clearing out the ban list, or does it
 too slowly.

 I've just did a test (on a production server, very low traffic, about 5k
 objects in cache):
 - restarted varnish (to empty ban list)
 - set the ban_lurker_sleep to 0.001s
 - sent a ban rule, such as: obj.http.x-host == mydomain.com &&
 obj.http.x-url == /index.html
 - waited for the ban rule to disappear from "varnishadm ban.list" (using

 On 3.0.1, it takes about 4 seconds. On 3.0.2 it takes 168 seconds.

 Until the upgrade, setting ban_lurker_sleep to 0.001s was enough to empty
 the ban list in about 1h. Setting it to 0.000001s after the upgrade only
 sees the ban list increase (about 100k rules in 24h, even if most of these
 were in Gone state).

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1045>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list