Adjusting the parents watchdog timer

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Feb 26 23:47:10 CET 2008


In message <C4552EF2-19E7-44E0-A458-7A6D39549C2B at cheney.net>, Dave Cheney write
s:

>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.

Not quite.

The master process has a pipe to the client for issuing commands
(purge, load vcl etc) and every $ping_interval it sends a "PING"
message that simply should elicit a PONG reply to show that the
child is responding.

You can also do this at any other varnish CLI:

	ping
	200 15      
	PONG 1204065967

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list