Varnish leaves old configs behind.

Thomas Lecomte thomas.lecomte at
Mon Sep 5 14:05:40 CEST 2016

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?


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.


Thomas Lecomte / Sysadmin / Virtual Expo

More information about the varnish-misc mailing list