Skip to content

safe_sleep.sh rarely hangs indefinitely #3792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlekseiNikiforovIBM opened this issue Apr 7, 2025 · 0 comments
Open

safe_sleep.sh rarely hangs indefinitely #3792

AlekseiNikiforovIBM opened this issue Apr 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AlekseiNikiforovIBM
Copy link

Describe the bug
Very rarely on update of github actions runner safe_sleep.sh hangs forever:

$ ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
...
actions+   72298 96.3  0.0   4372  3328 ?        R    Apr02 1988:54 /bin/bash /home/actions-runner/safe_sleep.sh 1
...

I suspect it may happen sometimes if machine runs in cloud and is overloaded and/or overcommitted.

To Reproduce
Steps to reproduce the behavior:

  1. Download runner of version prior to version, for example, 2.322.
  2. Register and run runner.
  3. Runner updates itself. It can also take a task to complete in meantime.

Expected behavior
Update should not hang infinitely.

Runner Version and Platform

Runner 2.322
OS: Linux

@AlekseiNikiforovIBM AlekseiNikiforovIBM added the bug Something isn't working label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant