Implement stack trace dump for all running threads on SIGQUIT
This is handy when we're debugging the thread locks: we can try to understand which thread does what and how it was called. Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
This commit is contained in:
@ -309,7 +309,7 @@ UNIX Signals
|
||||
============
|
||||
|
||||
OfflineImap listens to the unix signals SIGUSR1, SIGUSR2, SIGTERM,
|
||||
SIGINT, SIGHUP:
|
||||
SIGINT, SIGHUP, SIGQUIT:
|
||||
|
||||
If sent a SIGUSR1 it will abort any current (or next future) sleep of all
|
||||
accounts that are configured to "autorefresh". In effect, this will trigger a
|
||||
@ -326,6 +326,9 @@ in each account, close keep alive connections, remove locks on the
|
||||
accounts and exit. It may take up to 10 seconds, if autorefresh option
|
||||
is used.
|
||||
|
||||
SIGQUIT dumps stack traces for all threads and tries to dump process
|
||||
core.
|
||||
|
||||
Folder filtering and nametrans
|
||||
==============================
|
||||
|
||||
|
Reference in New Issue
Block a user