Skip to content
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

generic worker should handle OOM better #6894

Open
bhearsum opened this issue Mar 8, 2024 · 0 comments
Open

generic worker should handle OOM better #6894

bhearsum opened this issue Mar 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bhearsum
Copy link
Contributor

bhearsum commented Mar 8, 2024

At the moment, if a task runs something that consumes all of the system RAM, generic-worker tends to get OOM-killed, resulting in the task failing with CLAIM_EXPIRED. This is a bit unfortunate, because this state can happen for a variety of reasons.

Ideally, we'd avoid generic-worker getting OOM-killed entirely (@petemoore - I believe you have ideas about this).

A smaller measure, if possible, might be to detect the OOM kill, and either log a clear message to the log or resolve the task with a particular state.

@bhearsum bhearsum added the bug Something isn't working label Mar 8, 2024
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