Varnish leaves old configs behind.
Gerhard Schmidt
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:
>> Hi,
>>
>> 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?
>
> Hi,
>
> 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
directory.
Regards
Estartu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 847 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160905/5b59f05f/attachment.pgp>
More information about the varnish-misc
mailing list