3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

developing: Add advice for debugging hangs

This commit is contained in:
Daniel Oaks 2017-03-27 14:29:30 +10:00
parent 300d02bd9c
commit 479cd376d2

View File

@ -34,3 +34,12 @@ https://github.com/DanielOaks/irc-stress-test
As well, there's a decent set of 'tests' here, which I like to run Oragono through now and then: As well, there's a decent set of 'tests' here, which I like to run Oragono through now and then:
https://github.com/DanielOaks/irctest https://github.com/DanielOaks/irctest
## Debugging Hangs
To debug a hang, the best thing to do is to get a stack trace. Go's nice, and you can do so by running this:
$ kill -ABRT <procid>
This will kill Oragono and print out a stack trace for you to take a look at.