Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs
#1045: Ban lurker doesn't work anymore
 

Index | Next | Previous | View Flat


varnish-bugs at varnish-cache

Oct 28, 2011, 11:12 PM


Views: 955
Permalink
#1045: Ban lurker doesn't work anymore

#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
"watch")

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Subject User Time
#1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Oct 28, 2011, 11:12 PM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Oct 29, 2011, 4:55 AM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Oct 30, 2011, 3:51 PM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Oct 30, 2011, 3:52 PM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Nov 8, 2011, 11:55 PM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Jun 14, 2012, 7:32 AM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Nov 23, 2012, 10:17 AM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Nov 24, 2012, 4:53 AM
    Re: #1045: Ban lurker doesn't work anymore varnish-bugs at varnish-cache Apr 22, 2014, 2:13 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.