Hi, can you share your vcl?
-- Guillaume Quintard On Thu, Oct 25, 2018 at 1:56 AM, zart zurt <[email protected]> wrote: > Hi, I recently adopted some varnish servers and upgraded them to varnish > 5.0.0 in debian-9 from the debian repositories. > > Most metrics are good except the backend_req value which is too high. The > default_ttl and TTL values set in the VCL code are all 10d (or equivalent > in seconds) > > When I checked the docs, I found out that in vcl_hit even if you return > deliver, varnish starts a background fetch for that particular object if > the object time has passed its TTL. In my case, BGF is always started. > > I checked the source code and in file varnisgd/cache/cache_req_fsm.c and > function cnt_lookup around line 540, after VCL_hit_method called and it > returned VCL_RET_DELIVER, a BGF is started without looking at the TTL value. > > How can I change this behaviour in VCL or through a parameter ? Or is this > a bug ? > > _______________________________________________ > varnish-dev mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev > >
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
