Add ray stack tool for debugging (#3213)

This commit is contained in:
Eric Liang
2018-11-03 13:13:02 -07:00
committed by Robert Nishihara
parent ca7d4c2cf5
commit 9a0f0db070
5 changed files with 75 additions and 4 deletions
+3
View File
@@ -99,3 +99,6 @@ If you encounter errors like
`blas_thread_init: pthread_create: Resource temporarily unavailable` when using many workers,
try setting ``OMP_NUM_THREADS=1``. Similarly, check configured system limits with
`ulimit -a` for other resource limit errors.
For debugging unexpected hangs or performance problems, you can run ``ray stack`` to dump
the stack traces of all Ray workers on the current node. This requires py-spy to be installed.
+5
View File
@@ -92,6 +92,11 @@ of the following reasons.
Hanging
-------
.. tip::
You can run ``ray stack`` to dump the stack traces of all Ray workers on
the current node. This requires py-spy to be installed.
If a workload is hanging and not progressing, the problem may be one of the
following.