Varnish is functioning and caching but varnihstat show no hits

Lasse Karstensen lkarsten at varnish-software.com
Tue Feb 18 11:28:38 CET 2014


On Wed, Feb 05, 2014 at 12:38:32PM -0500, Matt Collier wrote:
> I am running varnish v. 3.05 on a debian server. I have had varnish
> running on this server for a long while now and I am not having any
> problems with the installation except:
[..]
> When I run varnishstat, my hit ratio is 0, and when I run
> varnishstat -1 it shows 0 client connections accepted.  I can also
> add that the server uptime displayed in the upper left hand corner
> of varnishstat is does not appear to be incrementing properly.  It's
> been sitting at 0+00:00:00 for the last hour.
[..]
> I can add that I upgraded varnish from 3.0.2-3 to 3.0.4-1 in August
> of last year.  I upgraded from 3.04 to 3.05 today.

This is probably due to a dependency problem for libvarnishapi in
the older packages.

Make sure that you have the correct (same) version of all varnish packages
installed on the system.

-- 
With regards,
Lasse Karstensen
Varnish Software AS



More information about the varnish-misc mailing list