diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-04-17 10:36:29 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-04-17 10:36:29 +0200 |
commit | 916eed22eb7dfce17daaa3aee849e130f0ea3163 (patch) | |
tree | db8a334f0938fa378051755059e771aa7b306076 /config-proxy/src/main | |
parent | ae0146d910c77ad2c4e99fdbf73c24dc7afcc50c (diff) |
Dump stack trace several times if config proxy does not start
Diffstat (limited to 'config-proxy/src/main')
-rwxr-xr-x | config-proxy/src/main/sh/vespa-config-ctl.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config-proxy/src/main/sh/vespa-config-ctl.sh b/config-proxy/src/main/sh/vespa-config-ctl.sh index c6c1afea62c..91e4cd39bd2 100755 --- a/config-proxy/src/main/sh/vespa-config-ctl.sh +++ b/config-proxy/src/main/sh/vespa-config-ctl.sh @@ -153,6 +153,11 @@ case $1 in elif ! vespa-ping-configproxy -s $hname then echo "failed to ping config proxy $hname" 1>&2 + # TODO: Dump stack trace for debugging, remove after April 2020 + kill -3 `pgrep -f -n configproxy` + sleep 2 + kill -3 `pgrep -f -n configproxy` + sleep 2 kill -3 `pgrep -f -n configproxy` fi |