Skip OOM score in containerised "world" to avoid System.UnauthorizedAccessException on /proc/<pid>/oom_score_adj #199789
Replies: 4 comments 2 replies
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
This is a real pain point with containerized self-hosted runners. The issue is that when the runner runs inside a Docker container with restricted capabilities (no A few workarounds you can try right now: 1. Grant the capability to the runner container docker run --cap-add SYS_RESOURCE ...Or if using Docker Compose: cap_add:
- SYS_RESOURCE2. Set services:
runner:
environment:
- GITHUB_ACTIONS_RUNNER_NO_OOM_SCORE_ADJUST=13. Run the runner container as root This is also being tracked upstream in Refs: |
|
Thanks so much @samus-aran.
Given ☝️ from GHA's README, shall I still have hope that someone will look at the PR (when time permits)? I am sorry if this is sounds like a stupid question but shared message says that only bug/security will be took into account. |
|
Hello team Thanks in advance! |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Actions Runner
Discussion Details
All reactions