cgroup-warden is a daemon that provides a way to set resource limits on those cgroups. Created to support CHPC's Arbiter, but it may also run stand-alone.
cgroup-warden allows requests to be made to modify resource limits per cgroup through the /control
endpoint. The resources are limited by modifying systemd properties. An example JSON request is below.
{
property: "CPUQuotaPerSecUSec",
value: "1000000000"
runtime: "false"
}
Download the latest release
Contributions are welcomed. To contribute, fork this repository on GitHub and submit a pull request with your proposed changes. Bug reports and feature requests are also appreciated, and can be made via GitHub Issues.