-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
It is not possible set memory.swappiness -1 on old kernel #543
Comments
Can you try the latest runc? For now, if there is no And "-1" usage is implementation detail for OCI compliant implementations which should not be considered by users. |
I have tried it with the latest runc. But the problem is because of this I have changed it to |
This should not be an issue with the 0.0.8 release of runc. The swap files are nullable now. |
I am trying run
runc start
with the Docker's busybox image but I am getting the following error:My config.json is:
and my runtime.js is:
Also, my Linux environment is:
Following the documentation trying to disable the Swappiness, I tried set it to -1 but I got the following error:
Inspecting the opencontainers/specs PRs, I have found this discussion #233 indicating the not
int64
usage to solve it. Thus, there is no way to support disable swappiness on old kernels?Also, since specs changed, there are a lot of "-1" usage to consider Swappiness disabeld like this one.
I think we need to think in a new way to handle this case instead of using the
swappiness == -1
. What do you think?The text was updated successfully, but these errors were encountered: