mass purge causes high load?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 14 15:42:23 CEST 2008


In message <200804141526.09080.ottolski at web.de>, Sascha Ottolski writes:

>thanks again. If I get it right, the ban list never shrinks, so I 
>probably have 17,000 ban list entries hanging around. can I purge this 
>list somehow, other than restarting the proxy? I suppose even if the 
>list is not used any more, even the comparing the generation and 
>sequence no. for each request adds a bit of overhead, doesn't it?

The only overhead added by the list is the memory it consumes, but
with 17000 entries, that also adds up of course.

I have on my todo list somewhere to find a way to prune the list
but until now that has not become such a priority that it has
happened. It will at some point though.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list