mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
Add ray stack tool for debugging (#3213)
This commit is contained in:
committed by
Robert Nishihara
parent
ca7d4c2cf5
commit
9a0f0db070
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user