Created
July 24, 2023 14:55
-
-
Save Toufa7/4b3be8bf37bba14bf572aef0a5c189e9 to your computer and use it in GitHub Desktop.
Control Groups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount { | |
cpu = /sys/fs/cgroup/cpu; | |
memory = /sys/fs/cgroup/memory; | |
} | |
group foo { | |
cpu { | |
cpu.cfs_quota_us = 100000; | |
cpu.cfs_period_us = 1000000; | |
} | |
memory { | |
memory.limit_in_bytes = 512M; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment