aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-06-02 09:48:37 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-06-02 14:20:57 +0000
commitd0701928d86487e5331bd8159cf7da49004edbef (patch)
tree179eaec4ca06cfeae581ed798aa0f7b5e8518b46 /searchcore
parent714d3bf6b0a4b60dde75143c3062cdddf69af093 (diff)
Let deadlock detector dump stack of potentially deadlocked threads
Enable cross-thread stack tracing as part of signal handler init code in both storage and proton daemons. Make deadlock detector parameters live configurable. Remove existing `restart` config definition annotations to reflect this. Remove dumping of bucket DB locks which hasn't really worked for a long time now.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/apps/proton/proton.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/apps/proton/proton.cpp b/searchcore/src/apps/proton/proton.cpp
index 386ceb4eeda..333e79216ad 100644
--- a/searchcore/src/apps/proton/proton.cpp
+++ b/searchcore/src/apps/proton/proton.cpp
@@ -56,6 +56,7 @@ App::setupSignals()
SIG::PIPE.ignore();
SIG::INT.hook();
SIG::TERM.hook();
+ SIG::enable_cross_thread_stack_tracing();
}
void