mirror of https://github.com/Icinga/icinga2.git
parent
c4f9c34e43
commit
ed4378e521
|
@ -156,12 +156,12 @@ a new gdb run.
|
|||
If Icinga 2 aborted its operation abnormally, generate a backtrace.
|
||||
|
||||
(gdb) bt
|
||||
(gdb) bt full
|
||||
(gdb) thread apply all bt full
|
||||
|
||||
Generate a full backtrace for all threads and store it into a new file
|
||||
(e.g. for debugging dead locks):
|
||||
If Icinga 2 is still running generate a full backtrace from the running
|
||||
process and store it into a new file (e.g. for debugging dead locks):
|
||||
|
||||
# gdb -p PID -batch -ex "thread apply all bt full" -ex "detach" -ex "q" > gdb_bt.log
|
||||
# gdb -p $(pidof icinga2) -batch -ex "thread apply all bt full" -ex "detach" -ex "q" > gdb_bt.log
|
||||
|
||||
If you're opening an issue at [https://dev.icinga.org] make sure
|
||||
to attach as much detail as possible.
|
||||
|
|
Loading…
Reference in New Issue