opencontainers / opencontainers/runc

Unable to update kmem limit on ppc64le

Open
#1,676 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.5k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
30

Description

Due to commit 7062c75, it is not possible update kmem on ppc64le. Reverted the commit against the master HEAD makes it works again,

[root@ibm-p8-01-lp6 ~]# runc run -d root
[root@ibm-p8-01-lp6 ~]# runc update --kernel-memory 52428800 root
failed to set memory.kmem.limit_in_bytes, because either tasks have already joined this cgroup or it has children

config.json.txt

@crosbymichael @hqhq

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review commit 7062c75 and the code path exercised by runc update --kernel-memory; use the provided config and reproduction commands on ppc64le. Done means updating the running container's kmem limit succeeds without the reported cgroup error, while preserving expected behavior elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.