Adjusting the parents watchdog timer

Dave Cheney dave at cheney.net
Tue Feb 26 23:42:41 CET 2008


[root at rado ~]# uname -a
Linux rado.redbubble.com 2.6.23.14-64.fc7 #1 SMP Sun Jan 20 22:20:19  
EST 2008 x86_64 x86_64 x86_64 GNU/Linux

I'm using cacti to graph the usual system stats with a 5 minute  
resolution. There is some indication of a loadavg jump in concert with  
each child restart which may indicate thread pileup.

I haven't looked at the PING code but i'm guessing its a connect, a  
dummy request and a close, so thread starvation or mutex contention  
could cause a blockage.

I'll reduce the timeout to 5 seconds and see what happens.

Cheers

Dave

On 27/02/2008, at 9:33 AM, Poul-Henning Kamp wrote:

> The default value is very much a number pulled out of thin air, and
> it is certainly not inconceiveable that it needs tweaking.
>
> In general I would expect 5 seconds to be enough, and I would like to
> find out why they are not.
>
> It may help if you plot (using munin ?) the activity on the machine
> and see if you can correlate the hickups with activitity.




More information about the varnish-dev mailing list