meetling icon indicating copy to clipboard operation
meetling copied to clipboard

Server hangs / doesn't respond

Open noyainrain opened this issue 10 years ago • 1 comments

Very rarely the server stops answering requests despite the process still running.

noyainrain avatar Dec 10 '15 19:12 noyainrain

To further investigate the problem, we need a stack trace of the hanging process. This can be achieved with gdb (which has Python support, available in Debian package python3-dbg).

First we need to attach to the running process:

gdb -p {pid}

Then we can get the stack traces for all threads with:

thread apply all py-bt

noyainrain avatar Jan 19 '16 16:01 noyainrain