element-hq / element-hq/synapse

add a thread-dump on signal handler

Open
#3,402 0 comments 0 reactions 0 assignees View on GitHub
A-Logging O-Uncommon S-Tolerable T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#3402](https://github.com/matrix-org/synapse/issues/3402).

---

i've just had to mess around with a dbg python & py-bt to try to get a thread dump out of synapse. i wish i could have just hit it with a signal (which would work even if the manhole was unavailable for whatever reason) - something like https://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application/2569696#2569696

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.