diff options
author | Tor Brede Vekterli <vekterli@vespa.ai> | 2024-04-10 12:23:31 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@vespa.ai> | 2024-04-10 12:55:41 +0000 |
commit | c70a40e4895b2657909ef3c38043a36b72b1036c (patch) | |
tree | dcb067b2a023b4910ba40d7bf8008af77ea3d2cc /searchcore/src/apps/proton/CMakeLists.txt | |
parent | 29b9803e6932ab9be36e97463219b7d09494857f (diff) |
Install Abseil failure signal handler in distributor/proton daemons
This will attempt to dump a stack trace for the offending thread
to stderr, which greatly improves visibility for everyone running
Vespa on systems with core dumps disabled.
Signal handler chaining is explicitly enabled to allow sanitizer
handlers to be called as expected.
Note that we install our own signal handlers _after_ the Abseil
handlers to avoid noisy stack dumping on `SIGTERM`. It is considered
a fatal signal by the failure handler, but the config sentinel
uses it as a friendly "please shutdown now, or else" nudge in the
common case.
Diffstat (limited to 'searchcore/src/apps/proton/CMakeLists.txt')
-rw-r--r-- | searchcore/src/apps/proton/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/apps/proton/CMakeLists.txt b/searchcore/src/apps/proton/CMakeLists.txt index a26a9e463d6..40bdcbaf1b1 100644 --- a/searchcore/src/apps/proton/CMakeLists.txt +++ b/searchcore/src/apps/proton/CMakeLists.txt @@ -23,4 +23,5 @@ vespa_add_executable(searchcore_proton_app searchcore_grouping searchcore_proton_metrics storageserver_storageapp + absl::failure_signal_handler ) |