aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/frameworkimpl/thread/appkiller.cpp
blob: 06f83055788b0f51680d722137fa1096441eae64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include <vespa/storage/frameworkimpl/thread/appkiller.h>

#include <vespa/log/log.h>

LOG_SETUP(".deadlock.killer");

namespace storage {

void RealAppKiller::kill() {
    LOG(error, "One or more threads have failed internal liveness checks; aborting process. "
               "A core dump will be generated (if enabled by the kernel). "
               "Please report this to the Vespa team at https://github.com/vespa-engine/vespa/issues");
    abort();
}

} // storage