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

Initialize memory.swappiness cgroup to -1 #20

Merged
merged 1 commit into from
Jun 23, 2015

Conversation

estesp
Copy link
Contributor

@estesp estesp commented Jun 23, 2015

Fixes: #16
Set up memory.swappiness in cgroup config so write is not attempted
unless specifically set. Fixes running runc on kernels which still have
the cgroup hierarchy write limitation.

Docker-DCO-1.1-Signed-off-by: Phil Estes estesp@linux.vnet.ibm.com (github: estesp)

Set up memory.swappiness in cgroup config so write is not attempted
unless specifically set.  Fixes running runc on kernels which still have
the cgroup hierarchy write limitation.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
@mrunalp
Copy link
Contributor

mrunalp commented Jun 23, 2015

LGTM

mrunalp pushed a commit that referenced this pull request Jun 23, 2015
Initialize memory.swappiness cgroup to -1
@mrunalp mrunalp merged commit dc185c6 into opencontainers:master Jun 23, 2015
@rajasec
Copy link
Contributor

rajasec commented Jun 27, 2015

@estesp
$ pwd
/sys/fs/cgroup
$ ls

Earlier I use to view what was the swapiness value inside my container, but cgroup directory was empty inside my container, whether this was intentional change

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

3 participants