Skip to content

chpc-uofu/cgroup-warden

Repository files navigation

cgroup-warden

License: GPL v2 Go Reference

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.

Control

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"
}

Install

Download the latest release

Contribute

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.