Varnishd and Supervisord

Trond Michelsen trondmm-varnish at crusaders.no
Fri Apr 20 12:55:17 CEST 2007


On Thu, Apr 19, 2007 at 06:02:15PM +0000, Poul-Henning Kamp wrote:
> In message <46279A07.4080806 at nyi.net>, James writes:
>> I'm not sure if this is the right mailing list or not, but I am
>> trying to get Varnish working with Supervisord
>> (http://plope.org/software/supervisor2/).  The point of supervisord
>> is to make sure varnish is always running and restart it even in
>> the case of a crash.
> This is sort of pointless, because Varnish already has its own
> supervisor facility: The management process will restart the worker
> process if it dies.

How do you set up Varnish to automatically restart if it dies? We
recently had a crash where the varnish process didn't restart by
itself, so I'm very interested if there's sonething we can do to make
sure it keeps running.

Anyway - I found the final entries in the varnishncsa-log to be kind
of interesting...

--8<--
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] ""   "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] ""   "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 4378 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 16500 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 8077 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] ""   "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] ""   "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 3989 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 9087 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 9709 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 3278 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 3894 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 20217 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 8145 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 4638 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 8611 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 6313 "-" "-"
195.1.193.62 - - [10/Apr/2007:15:24:39 +0200] "" 200 23572 "-" "-"
--8<--

-- 
Trond Michelsen




More information about the varnish-misc mailing list