Varnish leaves old configs behind.
schmidt at ze.tum.de
Mon Sep 5 14:09:54 CEST 2016
Am 05.09.2016 um 14:05 schrieb Thomas Lecomte:
> On Mon, Sep 5, 2016 at 12:35 PM, Gerhard Schmidt <schmidt at ze.tum.de> wrote:
>> I'm in the process of upgrading from Varnish3 to varnish41.
>> I have a system running that creates the configs on the fly and sends
>> them to varnish via admin connection.
>> After just one week it's about 400 MB already.
>> Did i miss something?
> As part of your deploy script, you could use the vcl.discard command
> to unload the previous configuration as soon as you've correctly
> loaded the new one.
> See https://www.varnish-cache.org/docs/trunk/reference/varnish-cli.html#vcl-discard-configname-label
That was in the part you didn't quote. Every time I install a new config
the old one is discarded and disappears from vcl.list but not from the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 847 bytes
Desc: OpenPGP digital signature
More information about the varnish-misc