Skip to main content

Varnish Issues

Varnish is used as the caching system at WPOven , Some quick Commands to see and check for errors

See top uncached url's , This will help see which urls are going through

varnishtop -i BereqURL

See cache hits , missis and nuked

varnishstat -1 | grep cache_
varnishstat -1 | grep nuke

See the misses and hits

varnishncsa -F '%t %r %s %b %{Varnish:time_firstbyte}x %{Varnish:handling}x'
varnishncsa -F '%t %r %s %b %{Varnish:time_firstbyte}x %{Varnish:handling}x' | grep miss

Trace 503 error

varnishlog -q 'RespStatus == 503' -g request