Varnish leaves old configs behind.

Gerhard Schmidt schmidt at
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> 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

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...
Name: signature.asc
Type: application/pgp-signature
Size: 847 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the varnish-misc mailing list