In Varnish stats, what does "Backend conn. reuses" and "recycles" mean?

Posted by electblake on Server Fault See other posts from Server Fault or by electblake
Published on 2011-06-09T16:05:52Z Indexed on 2012/11/20 5:02 UTC
Read the original article Hit count: 416

Filed under:

I have varnish installed and I think it's working properly (not sure if it matters but I am using iptables reroute method to route ports incoming:80 > varnish:8080 > apache:80

Anyway, In varnishstat I see a pretty high Hitrate average (60-80%) which I am working on but I am unclear at what all of the stats presented by varnishstat

Specifically the following Backend stats:

380         0.00         0.26 Backend conn. success
10122      15.00         6.85 Backend conn. reuses
267         0.00         0.18 Backend conn. was closed
10391      15.00         7.04 Backend conn. recycles

I've read a blog post called "Varnishstat for dummies" which outlines a lot of details of varnishstat (I recommend it for beginners) but it does not go over these Backend stats.

Feel free to explain here or link to a resource I've missed :)

thanks!

© Server Fault or respective owner

Related posts about varnish