debug varnish
TRANSCRIPT
DEBUGHOW-TO
Arianna Aondio
Field Engineer
WHO AM I?
● Email: [email protected]● Twitter: aondio_● Github: aondio
AGENDA
● get the data
● possible problems
● which Varnish tools
● hands-on
There is a sentence appearing more than once within this
presentation.Find out which one and win
CHOCOLATE!
GET THE DATA
VARNISHGATHER
# wget https://raw.githubusercontent.com/varnish/varnishgather/master/varnishgather
# sudo sh ./varnishgather
gathers stats, metrics and facts about your system in a .tar.gz archive
Stability
Functional
Capacity
Operational
PROBLEMS
Problems
STABILITY
Crash, panic or something else?
Get yourself a coffee, relax,take your time and
get your hands dirty
FUNCTIONAL
Code not reached?Wrong logic or expectations?
We have tools!
OPERATIONAL
Low hitrate?High response times?
We have tools!
CAPACITY
Cache too small?Wrong number of threads?
We have tools!
TOOLS
VARNISH TOOLS
VARNISHTEST
VARNISHNCSA
VARNISHHIST
VARNISHTOP
VARNISHLOG
VARNISHSTAT
HANDS-ON
Q & A