From d979270e2421346e6ae64556388cb9cca9382898 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sun, 23 Aug 2020 07:56:46 -0400 Subject: [PATCH] use SIGUSR1 instead of SIGQUIT to print stack traces --- .../resources/packer/roles/mitmproxy/files/bubble_conn_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_conn_check.py b/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_conn_check.py index b8d4ba7f..4f7ce56d 100644 --- a/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_conn_check.py +++ b/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_conn_check.py @@ -48,7 +48,7 @@ def dumpstacks(signal, frame): code.append(" %s" % (line.strip())) print("\n------------------------------------- stack traces ------------------------------"+"\n".join(code), file=sys.stderr, flush=True) -signal.signal(signal.SIGQUIT, dumpstacks) +signal.signal(signal.SIGUSR1, dumpstacks) REDIS_DNS_PREFIX = 'bubble_dns_'