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

Revision #2
Created 1 July 2021 07:38:42 by Vikas
Updated 27 August 2021 06:44:33 by Vikas