debug varnish

16

Upload: varnish-software

Post on 08-Apr-2017

57 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Debug varnish
Page 2: Debug varnish

DEBUGHOW-TO

Page 3: Debug varnish

Arianna Aondio

Field Engineer

WHO AM I?

● Email: [email protected]● Twitter: aondio_● Github: aondio

Page 4: Debug varnish

AGENDA

● get the data

● possible problems

● which Varnish tools

● hands-on

Page 5: Debug varnish

There is a sentence appearing more than once within this

presentation.Find out which one and win

CHOCOLATE!

Page 6: Debug varnish

GET THE DATA

Page 7: Debug varnish

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

Page 8: Debug varnish

Stability

Functional

Capacity

Operational

PROBLEMS

Problems

Page 9: Debug varnish

STABILITY

Crash, panic or something else?

Get yourself a coffee, relax,take your time and

get your hands dirty

Page 10: Debug varnish

FUNCTIONAL

Code not reached?Wrong logic or expectations?

We have tools!

Page 11: Debug varnish

OPERATIONAL

Low hitrate?High response times?

We have tools!

Page 12: Debug varnish

CAPACITY

Cache too small?Wrong number of threads?

We have tools!

Page 13: Debug varnish

TOOLS

Page 14: Debug varnish

VARNISH TOOLS

VARNISHTEST

VARNISHNCSA

VARNISHHIST

VARNISHTOP

VARNISHLOG

VARNISHSTAT

Page 15: Debug varnish

HANDS-ON

Page 16: Debug varnish

Q & A