docs: Remove duplicate description of pkill -SIGUSR1
This commit is contained in:
parent
6076a0f117
commit
fb6a91f23e
@ -294,23 +294,6 @@ Using this setup you can now run Mopidy with ``PROFILE=silent mopidy``
|
||||
if you for instance want to test Spotify without any actual audio output.
|
||||
|
||||
|
||||
Debugging deadlocks
|
||||
===================
|
||||
|
||||
Between the numerous Pykka threads and GStreamer interactions there can
|
||||
sometimes be a potential for deadlocks. In an effort to make these slightly
|
||||
simpler to debug Mopidy registers a ``SIGUSR1`` signal handler which logs the
|
||||
traceback of all alive threads.
|
||||
|
||||
To trigger the signal handler, you can use the ``pkill`` command to
|
||||
send the ``SIGUSR1`` signal to any Mopidy processes::
|
||||
|
||||
pkill -SIGUSR1 mopidy
|
||||
|
||||
If you check the log, you should now find one log record with a full traceback
|
||||
for each of the currently alive threads in Mopidy.
|
||||
|
||||
|
||||
Writing documentation
|
||||
=====================
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user