[master] c09623784 Polish confusing output

Nils Goroll nils.goroll at uplex.de
Mon Jul 3 14:54:05 UTC 2023


commit c096237845e28a05f04fb19c6d29fd384f498b78
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Jul 3 16:24:20 2023 +0200

    Polish confusing output
    
    as seen in varnishtest:
    
    ***  v1    debug|Error: Child (0) not dying, killingChild (74042) died signal=6

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index 742525fa5..7edd7a844 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -566,7 +566,8 @@ mgt_reap_child(void)
 		(void)usleep(100000);
 	}
 	if (r == 0) {
-		VSB_printf(vsb, "Child (%jd) not dying, killing", (intmax_t)r);
+		VSB_printf(vsb, "Child (%jd) not dying (waitpid = %jd),"
+		    " killing\n", (intmax_t)child_pid, (intmax_t)r);
 
 		/* Kick it Jim... */
 		(void)kill_child();


More information about the varnish-commit mailing list