Varnish hit + pass + miss reaches less than 50% of all reqs

Alexandre Thaveau Alexandre.Thaveau at mister-auto.com
Wed Apr 17 15:17:51 UTC 2019


Hello everybody,

i was trying to get some stats from my varnish server using varnishstat.
When using varnish stat, i see that :
- MAIN.client_req should make 100% of my queries
- MAIN.cache_hit represents 10% of  MAIN.client_req
- MAIN.cache_hitpass represents 7% of  MAIN.client_req
- MAIN.cache_miss represents 24% of  MAIN.client_req
- MAIN.cache_hit_grace is very low

So all these sumed categories represent less than 50% of client_req, i
think i'm missing something. The configuration is not maintained by me,
here is a sample of what it returns if this can help :
-------------------------------------
cat /etc/varnish/production.vcl | grep return
            return(synth(900, "Moved Permanently"));
        return(synth(901, "Moved Permanently"));
        return(synth(902, "Moved Permanently"));
        return(synth(903, "Moved Permanently"));
        return(pipe);
        return(pipe);
        return(pass);
        return(pass);
            return(pass);
        return(synth(410, "Gone"));
        return(pass);
        return(synth(850, "Moved Permanently"));
        return(hash);
       return(hash);
       return(pass);
   return(hash);
        return(lookup);
             return(retry);
    return(deliver);
-------------------------------------

Thanks very much for your help,
Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20190417/026f0068/attachment.html>


More information about the varnish-misc mailing list