Varnish3 and Munin : Hit rate exceeds 100%

Geoff Simmons geoff at uplex.de
Tue Jan 12 16:33:26 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 01/12/2016 04:18 PM, maxence at bothorel.net wrote:
> 
> client_req              2977215        34.73 Client requests
> received cache_hit              5095361        59.44 Cache hits 
> cache_hitpass          64796         0.76 Cache hits for pass 
> cache_miss            834384         9.73 Cache misses

hitrate = cache_hit / (cache_hit + cache_miss) = 86%

client_req doesn't enter into the equation.

> We can see there are more cache_hit than client_req. I wonder if
> this problem is due to ESI request, which is not use in the graph.

Yes, client_req only counts "incoming" requests, while client_hit,
_hitpass and _miss also include results from ESIs.

> Is there a way to include ESI requests in the graph ?

Since both cache_hit and cache_miss count hits and misses from ESIs,
the hitrate equation will in fact account for the ESIs as well.

> You can see a graph here :
> https://lut.im/v4u71OPh4C/q5xNkDneiftmsH2b.png

I get an SSL error from that link.


HTH,
Geoff
- -- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWlRzGAAoJEOUwvh9pJNURAqgP/0ReHPhvYJUuTSBNdsJYW54J
eMOzOMySNBTSCWwkjSt3bM6X8zCMZFS3BuhKdFH+ZmpDC0OcxjONQ5AqIfuqMCMu
CqTLZST46rCgVO6H81h83HGIzbKUWDAJftlpHjupmCPqyF0hcZftJK6B0H/b8xUw
unh0KBuPVAjSrWPrrVtmprSZAmjSR3ZxFLC6F7BJCe45Tz+4tckiVxwpYj0koz8a
U0QZ4CM1hvzTusUJb9LTN2rfgoWh1p71w8RsRJJ7uUU5a2PusTnrhtuwfkfqAba3
zzMQs2EMkVs89lNSVDHA0Nc28ibzshEEzCwb6zmi2ciyqb4otBDVXcNioVDY8QHW
mQJH8CxBAmebw67rgHbbtlsrAxhZUdS8ITDKxnOGHHeoqRt7WKLYzu+nJTYNdvOo
TyD1RFosT+wJutzSWxu+IMxTcBDFOUcdmd3QeuMmVouxy2hl/lHqp+1CzD/g34Ds
t3dxrISTOHX8ayDkXRmu8c7qKA2zpJwfPqrsBn7erypSq3KMEMp6lUwZWfOMHQxd
wGe9HNZ/hh8Ho/j/XXia4rWxdyIcaAuonJMVupIHvM5ogDPlVkUr4/dvrVc3JWzD
2c9BzVmOJdI/EIHoNJDYspM3EE2WZ+qnZ326Cb2CnsvOO6j9uyU/YtG620Jsk7OF
SbMuzHfmoqmHBMFQ3YPg
=bDAI
-----END PGP SIGNATURE-----



More information about the varnish-misc mailing list