debug varnish

Post on 08-Apr-2017

57 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

DEBUGHOW-TO

Arianna Aondio

Field Engineer

WHO AM I?

● Email: arianna.aondio@varnish-software.com● 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

top related