Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Failed to run containers with memory constraints #103

Closed
devimc opened this issue Jul 20, 2018 · 0 comments · Fixed by #104
Closed

Failed to run containers with memory constraints #103

devimc opened this issue Jul 20, 2018 · 0 comments · Fixed by #104
Assignees

Comments

@devimc
Copy link

devimc commented Jul 20, 2018

Error response from daemon: Cannot update container 17db7e1d0245601bf328b7ce0eda47092c699ca5caecc5080b81ede4c50775a0: /usr/bin/kata-runtime did not terminate sucessfully: rpc error: code = Unknown desc = failed to write 188743680 to memory.limit_in_bytes: write /sys/fs/cgroup/memory/docker/17db7e1d0245601bf328b7ce0eda47092c699ca5caecc5080b81ede4c50775a0/memory.limit_in_bytes: permission denied
: unknown

failed to write 188743680 to memory.limit_in_bytes: write /sys/fs/cgroup/memory/docker/17db7e1d0245601bf328b7ce0eda47092c699ca5caecc5080b81ede4c50775a0/memory.limit_in_bytes: permission denied

@devimc devimc self-assigned this Jul 20, 2018
devimc pushed a commit to devimc/kata-packaging that referenced this issue Jul 20, 2018
libcontainer limits the memory+swap usage by writing the limit at
/sys/fs/cgroup/memory/docker/$CONTID/memory.memsw.limit_in_bytes, this path
doesn't exist if CONFIG_MEMCG_SWAP and CONFIG_MEMCG_SWAP_ENABLED are not
enable.

fixes kata-containers#103

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-packaging that referenced this issue Jul 20, 2018
libcontainer limits the memory+swap usage by writing the limit at
/sys/fs/cgroup/memory/docker/$CONTID/memory.memsw.limit_in_bytes, this path
doesn't exist if CONFIG_MEMCG_SWAP and CONFIG_MEMCG_SWAP_ENABLED are not
enabled.

fixes kata-containers#103

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-packaging that referenced this issue Aug 1, 2018
libcontainer limits the memory+swap usage by writing the limit at
/sys/fs/cgroup/memory/docker/$CONTID/memory.memsw.limit_in_bytes, this path
doesn't exist if CONFIG_MEMCG_SWAP and CONFIG_MEMCG_SWAP_ENABLED are not
enabled.

fixes kata-containers#103

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-packaging that referenced this issue Aug 1, 2018
libcontainer limits the memory+swap usage by writing the limit at
/sys/fs/cgroup/memory/docker/$CONTID/memory.memsw.limit_in_bytes, this path
doesn't exist if CONFIG_MEMCG_SWAP and CONFIG_MEMCG_SWAP_ENABLED are not
enabled.

fixes kata-containers#103

Signed-off-by: Julio Montes <[email protected]>
jcvenegas pushed a commit that referenced this issue Jul 2, 2019
shell usage function use wrong way to get AGENT_BIN value

Fixes #103

Signed-off-by: Liu Changcheng <[email protected]>
jcvenegas pushed a commit that referenced this issue Jul 2, 2019
rootfs: correct rootfs script deference var value
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant