Commit 98ec2472 authored by Per Andreas Buer's avatar Per Andreas Buer

tools. troubleshooting

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4853 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f6f2caaf
...@@ -14,8 +14,8 @@ the web server. If you have Varnish the easiest might be to use ...@@ -14,8 +14,8 @@ the web server. If you have Varnish the easiest might be to use
varnishlog, but sometimes a separate tool makes sense. Here are the varnishlog, but sometimes a separate tool makes sense. Here are the
ones I use. ones I use.
lwp-request Tool: lwp-request
~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
lwp-request is part of The World-Wide Web library for Perl. It's lwp-request is part of The World-Wide Web library for Perl. It's
couple of really basic programs that can execute a HTTP request and couple of really basic programs that can execute a HTTP request and
...@@ -57,8 +57,8 @@ So, to check whether a site sets cookies for a specific URL just do:: ...@@ -57,8 +57,8 @@ So, to check whether a site sets cookies for a specific URL just do::
GET -Used http://example.com/ |grep ^Set-Cookie GET -Used http://example.com/ |grep ^Set-Cookie
Firefox plugins Tool: Live HTTP Headers
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
There is also a plugin for Firefox. *Live HTTP Headers* can show you There is also a plugin for Firefox. *Live HTTP Headers* can show you
what headers are beeing sent and recieved. Live HTTP Headers can be what headers are beeing sent and recieved. Live HTTP Headers can be
......
Troubleshooting Varnish Troubleshooting Varnish
----------------------- -----------------------
Sometimes Varnish misbehaves. In order for you to understand whats
going on there are a couple of places you can check. varnishlog,
/var/log/syslog, /var/log/messages are all places where varnish might
leave clues of whats going on.
When Varnish won't start When Varnish won't start
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
...@@ -51,6 +56,12 @@ Varnish is crashing ...@@ -51,6 +56,12 @@ Varnish is crashing
When varnish goes bust. When varnish goes bust.
Varnish gives me Guru meditation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First find the relevant log entries in varnishlog. That will probably
give you a clue.
Varnish doesn't cache Varnish doesn't cache
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment