diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-06-02 09:48:37 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-06-02 14:20:57 +0000 |
commit | d0701928d86487e5331bd8159cf7da49004edbef (patch) | |
tree | 179eaec4ca06cfeae581ed798aa0f7b5e8518b46 /searchcore | |
parent | 714d3bf6b0a4b60dde75143c3062cdddf69af093 (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.cpp | 1 |
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 |