Browse Source

Document usage of yappi profiler

ff4eeec introduced support for yappi, a python profiler, which is used
when generating stack dumps (via SIGUSR2).  The commit forgot to update
the related documentation.

Change-Id: Iee1d680cf7b2df4c702666aaf778991c696c3274
changes/08/97708/5
Antoine Musso 8 years ago
parent
commit
d0f06265e0
  1. 7
      doc/source/zuul.rst

7
doc/source/zuul.rst

@ -1045,3 +1045,10 @@ recheck changes for the gate and check pipelines respectively::
If you send a SIGUSR2 to the zuul-server process, Zuul will dump a stack
trace for each running thread into its debug log. This is useful for
tracking down deadlock or otherwise slow threads.
When `yappi <https://code.google.com/p/yappi/>`_ (Yet Another Python
Profiler) is available, additional functions' and threads' stats are
emitted as well. The first SIGUSR2 will enable yappi, on the second
SIGUSR2 it dumps the information collected, resets all yappi state and
stops profiling. This is to minimize the impact of yappi on a running
system.

Loading…
Cancel
Save