Varnish leaves old configs behind.
Thomas Lecomte
thomas.lecomte at virtual-expo.com
Mon Sep 5 14:05:40 CEST 2016
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
--
Thomas Lecomte / Sysadmin / Virtual Expo
More information about the varnish-misc
mailing list