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

Backport of client: do not disable memory swappiness if kernel does not support it into release/1.5.x #17672

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #17625 to be assessed for backporting due to the inclusion of the label backport/1.5.x.

The below text is copied from the body of the original PR.


This PR adds a workaround for very old Linux kernels which do not support
the memory swappiness interface file. Normally we write a "0" to the file
to explicitly disable swap. In the case the kernel does not support it,
give libcontainer a nil value so it does not write anything.

Fixes #17448

@hc-github-team-nomad-core hc-github-team-nomad-core merged commit 6b6f1c7 into release/1.5.x Jun 22, 2023
@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/no-swappiness-ancient-kernels/partially-main-wombat branch from 2f2dd90 to b2fe506 Compare June 22, 2023 14:37
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/no-swappiness-ancient-kernels/partially-main-wombat branch June 22, 2023 14:37
@vercel vercel bot temporarily deployed to Preview – nomad June 22, 2023 14:41 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui June 22, 2023 14:46 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants