If I call error from vcl_deliver varnishd appears to die. For example, the following (nonsensical) definition:<br><br>sub vcl_deliver {<br> error 503 "Badness";<br>}<br><br>... results in the following varnishlog output (which looks like a crash to me):<br>
<br> 10 SessionOpen c <a href="http://172.18.26.105">172.18.26.105</a> 47478 :8081<br> 10 ReqStart c <a href="http://172.18.26.105">172.18.26.105</a> 47478 1731927449<br> 10 RxRequest c GET<br> 10 RxURL c /PRIME/mtproxy/mtdata/14/2608/5704/1024<br>
10 RxProtocol c HTTP/1.1<br> 10 RxHeader c Accept-Encoding: identity<br> 10 RxHeader c Host: <a href="http://172.18.26.105:8081">172.18.26.105:8081</a><br> 10 RxHeader c Connection: close<br> 10 RxHeader c User-agent: Python-urllib/2.4<br>
10 VCL_call c recv<br> 10 VCL_return c lookup<br> 10 VCL_call c hash<br> 10 VCL_return c hash<br> 10 VCL_call c miss<br> 10 VCL_return c fetch<br> 12 BackendOpen b default <a href="http://127.0.0.1">127.0.0.1</a> 60316 <a href="http://127.0.0.1">127.0.0.1</a> 8880<br>
10 Backend c 12 default default<br> 12 TxRequest b GET<br> 12 TxURL b /PRIME/mtproxy/mtdata/14/2608/5704/1024<br> 12 TxProtocol b HTTP/1.1<br> 12 TxHeader b Accept-Encoding: identity<br> 12 TxHeader b Host: <a href="http://172.18.26.105:8081">172.18.26.105:8081</a><br>
12 TxHeader b User-agent: Python-urllib/2.4<br> 12 TxHeader b X-Varnish: 1731927449<br> 12 TxHeader b X-Forwarded-For: <a href="http://172.18.26.105">172.18.26.105</a><br> 0 CLI - Rd vcl.load boot ./<a href="http://vcl.1P9zoqAU.so">vcl.1P9zoqAU.so</a><br>
0 CLI - Wr 0 200 Loaded "./<a href="http://vcl.1P9zoqAU.so">vcl.1P9zoqAU.so</a>" as "boot"<br> 0 CLI - Rd vcl.use boot<br> 0 CLI - Wr 0 200 <br> 0 CLI - Rd start<br>
0 Debug - "Acceptor is epoll"<br> 0 CLI - Wr 0 200 <br> 0 WorkThread - 0x4485ec10 start<br> 0 WorkThread - 0x4525fc10 start<br> 0 WorkThread - 0x45c60c10 start<br> 0 WorkThread - 0x46661c10 start<br>
0 WorkThread - 0x47062c10 start<br> 0 WorkThread - 0x47a63c10 start<br> 0 WorkThread - 0x48464c10 start<br> 0 WorkThread - 0x48e65c10 start<br> 0 WorkThread - 0x49866c10 start<br> 0 WorkThread - 0x4a267c10 start<br>
<br>