Chasing 503 Guru's

Ross Brown ross at
Tue Dec 7 03:10:21 CET 2010

-----Original Message-----
From: varnish-misc-bounces at [mailto:varnish-misc-bounces at] On Behalf Of Simon Males
Sent: Friday, 3 December 2010 3:30 a.m.
To: Per Buer
Cc: varnish-misc at
Subject: Re: Chasing 503 Guru's

>>> Or is it common practice to write varnishlog to disk in production environments?
>> No. On Linux the vm get's slightly dazzled by all the IO and will
>> behave strangely. You can instruct varnishlog to only log 503's. That
>> might be ideal for you.

> I'm not sure how to do this. The closest I get is:
> varnishlog -o -i TxStatus -I 503
> Though that doesn't return the whole entry.

You could try something like this, which takes inspiration from something I found on Tollef's blog ( )

varnishlog -o | perl -ne 'BEGIN { $/ = "";} print if (/TxStatus.*(50\d)/);'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list