new Varnish4 install -- seeing MISSes instead of HITs ? vcl & log included

Norberto Meijome numard at gmail.com
Fri Dec 12 08:46:28 CET 2014


Not near a computer atm...but this is interesting in your log

        -   VCL_return     hash
        -   VCL_call       HASH
        -   VCL_return     lookup
        -   Hit            2147483651
        -   VCL_call       HIT
        -   VCL_return     fetch
        -   VCL_Error      vcl_hit{} returns fetch without busy object.
Doing pass.
        -   VCL_call       PASS
        -   VCL_return     fetch
On 12/12/2014 10:27 am, <grantksupport at operamail.com> wrote:

>
>
> On Thu, Dec 11, 2014, at 03:12 PM, Dridi Boukelmoune wrote:
> >
> https://www.varnish-cache.org/docs/4.0/users-guide/vcl-grace.html#grace-mode
> >
> > Looking again at your logs after reading this, it makes sense that
> > you'd always miss.
>
> hm.  I need to read that a couple of more times; for now I'll take your
> word for it
>
> > What happens if you remove vcl_hit from your VCL
> > and entirely leave it to the built-in vcl_hit?
>
> it HITs.
>
> as does the vlc_hit from
>
>
> https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl
>
> which appears to use the recommendations from your reference, above
>
> good starting point -- at least, far better than my own attempt.
>
> now I've an idea what the problem is, and a working basis; re-reading will
> fix the rest.
>
> thanks!
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20141212/8c247414/attachment.html>


More information about the varnish-misc mailing list