summaryrefslogtreecommitdiffstats
path: root/public/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-04 14:03:53 +0200
committerDan McGee <dan@archlinux.org>2010-08-04 14:06:49 +0200
commitefba7e8ba08a15684d5f5cc24bf813ee53b13a47 (patch)
tree33137d0fd458b6715dfdf19d33d338c7c55cbf62 /public/models.py
parent8e1b9a8424eb96df27f13ef61846f884e113a431 (diff)
downloadarchweb-efba7e8ba08a15684d5f5cc24bf813ee53b13a47.tar.gz
archweb-efba7e8ba08a15684d5f5cc24bf813ee53b13a47.tar.xz
reporead: Add ability to generate traceback via signal
Every once in a while we see this command hanging on the main server but it isn't making any system calls, so it is hard to tell where it is getting stuck. Add a signal handler on SIGQUIT that will listen and print a traceback when signaled. This is the easiest thing to implement; future additions may need to be able to hook up to a remote debugger (e.g. pdb) if this doesn't work. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public/models.py')
0 files changed, 0 insertions, 0 deletions