varnish storage tuning

Darryl Dixon - Winterhouse Consulting darryl.dixon at winterhouseconsulting.com
Tue Jun 16 23:48:33 CEST 2009


> ]] "Darryl Dixon - Winterhouse Consulting"
>
> | My testing showed that with purge_url in the VCL, a 'purge record' was
> | created every time the rule was struck, and that record never seemed to
> be
> | removed, which meant that memory grew without bound nearly continuously
> | (new memory allocated for each new purge record). See the thread I
> started
> | here:
> |
> http://www.mail-archive.com/varnish-misc@projects.linpro.no/msg02520.html
>
> It gets removed when all the objects in the cache older than the purge
> either have expired or have been requested.  If your cache is big, this
> can obviously take a while.

I saw this problem with a cache size of 250MB with about 10% (22MB)
occupancy. The log of purge_url records pushed the overall memory envelope
of the instance well above 3GB. It may well be as you say that eventually
the records will be removed, but for all practical intents and purposes
they may as well not have been :(

regards,
Darryl Dixon
Winterhouse Consulting Ltd
http://www.winterhouseconsulting.com



More information about the varnish-misc mailing list