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

Dridi Boukelmoune dridi at varni.sh
Thu Apr 18 06:23:27 UTC 2019


On Wed, Apr 17, 2019 at 6:23 PM Guillaume Quintard
<guillaume at varnish-software.com> wrote:
>
> Hi there,
>
> So:
>
> MAIN.client_req        290152364 (aaaaaaaaaaall the requests)
>
> vs
>
> MAIN.cache_hit           7433491
> MAIN.cache_hit_grace        36319 (exclude these are they are already accounted for in MAIN.cache_hit)
> MAIN.cache_hitpass       16003020 (exclude these are they are already accounted for in MAIN.s_pass)
> MAIN.cache_miss          89526521
> MAIN.s_synth               11418599
> MAIN.s_pipe                     216
> MAIN.s_pass               181773529
>
> the difference is now 8 requests, which is fairly reasonable (some requests may be in flight, and threads don't necessarily push their stats after every requests)

Well, you can also return(synth) from almost anywhere, including after
a lookup where we bump one of the outcomes. This can create a bit of
double-accounting from the point of view of "summing the rest".

Dridi


More information about the varnish-misc mailing list