## The problem
Issue actions/runner#3792 (closed, 33 comments): safe_sleep.sh rarely hangs indefinitely. Self-hosted GitHub Actions runners occasionally hang forever, never completing the job.
## What fixed it
If a self-hosted GitHub Actions runner hangs forever mid-job, it may be the safe_sleep.sh deadlock this thread tracked down. The maintainers re-opened and merged PR #3157, which fixes the common deadlock, so update to a runner release that includes that merge. Note the thread also flags a rarer, still-unfixed deadlock related to PID reuse, so if hangs persist after updating, that is the remaining suspect.