Mercurial > prosody-modules
view mod_traceback/README.markdown @ 2834:3fb5f173f213
mod_auth_external: Make sure processes are killed when Prosody shuts down
This is needed because modules aren't unloaded during shutdown.
The global server-cleanup event seems appropriate to use here.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Nov 2017 01:01:59 +0100 |
parents | db0f654b9b3f |
children |
line wrap: on
line source
This module writes out a traceback to `traceback.txt` in Prosodys data directory (see `prosodyctl about`) when the signal `SIGUSR1` is received. This is useful when debugging seemingly frozen instances in case it is stuck in Lua code.