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

raw_exec: oom_score_adj support #23308

Merged
merged 13 commits into from
Jun 14, 2024
Merged

raw_exec: oom_score_adj support #23308

merged 13 commits into from
Jun 14, 2024

Conversation

pkazmierczak
Copy link
Contributor

See #23259 and #11087 for context.

@pkazmierczak pkazmierczak force-pushed the f-oom-score-adj-rawexec branch from 6ac2202 to 1410f8f Compare June 12, 2024 14:14
@pkazmierczak pkazmierczak marked this pull request as ready for review June 12, 2024 14:14
@pkazmierczak pkazmierczak added backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.8.x backport to 1.8.x release line labels Jun 12, 2024
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines +53 to +54
- `oom_score_adj` - (Optional) A positive integer to indicate the likelihood of
the task being OOM killed (valid only for Linux). Defaults to 0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this on the Docker PR, but we don't actually enforce that it's positive in the driver code, right?

Copy link
Contributor Author

@pkazmierczak pkazmierczak Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! And also there's a mistake both here and in the docker driver docs: oom_score_adj is not set in the driver options, but as a task config option. I fix.

Copy link

github-actions bot commented Jan 3, 2025

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.8.x backport to 1.8.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants