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

Set oom_score_adj for Docker and the Nomad agent #48

Open
lens0021 opened this issue Jun 20, 2021 · 2 comments
Open

Set oom_score_adj for Docker and the Nomad agent #48

lens0021 opened this issue Jun 20, 2021 · 2 comments
Assignees

Comments

@lens0021
Copy link
Member

Set oom_score_adj for Linux host services that aren't managed by Nomad, e.g. Docker, logging services, and the Nomad agent itself. For Systemd services, you can use the OOMScoreAdj field.

https://www.nomadproject.io/docs/job-specification/resources#memory-oversubscription

@lens0021 lens0021 moved this to To do in femiwiki.com Jan 14, 2023
@lens0021 lens0021 self-assigned this Oct 9, 2024
@lens0021 lens0021 moved this from To do to In Progress in femiwiki.com Oct 9, 2024
@lens0021
Copy link
Member Author

lens0021 commented Oct 9, 2024

Since https://github.com/femiwiki/infra/pull/332/files#diff-e2d1578b9c6c5bd9b95923e7836724431e7f36d37b63489a365420880a8247e9, we are using the official rpm package and it includes oom_score_adj:

$ sudo less /usr/lib/systemd/system/nomad.service | grep OOMScoreAdjust
OOMScoreAdjust=-1000

@lens0021 lens0021 closed this as completed Oct 9, 2024
@lens0021 lens0021 moved this from In Progress to Done in femiwiki.com Oct 9, 2024
@lens0021
Copy link
Member Author

lens0021 commented Oct 9, 2024

We should do this for Consul

@lens0021 lens0021 reopened this Oct 9, 2024
@github-project-automation github-project-automation bot moved this from Done to To do in femiwiki.com Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant