Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Port to 2.0.0: Complete and fix cgroup cpu and memory limiting #13895

Merged
merged 1 commit into from
Sep 12, 2017

Conversation

janvorli
Copy link
Member

* Implement GetCurrentProcessCpuCount for Unix
* Add CGroup CFS CPU limit support
* Support docker cgroup limits
 * The parsing would find the wrong '-' in lines like this:
354 347 0:28 /system.slice/docker-654dd7b6b8bbfe1739ae3309b471e95ccc82b3a3f56b7879f0a811d68b5c4e1d.scope /sys/fs/cgroup/cpuacct,cpu ro,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuacct,cpu
 * In a docker container, the mount root and relative path in the cgroup have the same value, the relative path must not be appended to the mount point.
@janvorli janvorli added area-PAL os-linux Linux OS (any supported distro) labels Sep 11, 2017
@janvorli janvorli added this to the 2.0.x milestone Sep 11, 2017
@janvorli janvorli self-assigned this Sep 11, 2017
@janvorli janvorli changed the title Complete and fix cgroup cpu and memory limiting Port to 2.0.0: Complete and fix cgroup cpu and memory limiting Sep 11, 2017
@weshaggard weshaggard merged commit 87f2812 into dotnet:release/2.0.0 Sep 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-PAL os-linux Linux OS (any supported distro)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants