Using varnish as a cache for more than one website

Davies Matt J A (LCSS) mjdavies at glam.ac.uk
Tue Jun 29 13:32:14 CEST 2010


Thanks Florian

I'll use God, I'm familiar with it so it'll be easier.

Matt


On 29 Jun 2010, at 12:15, Florian Holzhauer wrote:

> Dear Davies,
> 
> Am 29.06.10 12:49, schrieb Davies Matt J A (LCSS):
> 
>> That is a good point though, does anyone use God or another
> > monitoring process to make sure varnish does not go down?
> > Or it will restart it if it does go down.
> 
> No, it does not restart automatically. I use Monit
> http://mmonit.com/monit/ for such a purpose, daemontools or God might fit here, too. This is my config:
> 
> check process varnish with pidfile /var/run/varnishd.pid
> start program = "/etc/init.d/varnish start"
> stop program = "/etc/init.d/varnish stop"
> if loadavg(5min) greater than 10 for 8 cycles then stop
> if 3 restarts within 5 cycles then timeout
> 
> Please note that the loadavg-statement might not be useful in all scenarios. :-)
> 
> Cheers,
> Florian.
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc





More information about the varnish-misc mailing list