raulk / go-watchdog

a library to curb OOMs by running Go GC according to a user-defined policy.
Other
80 stars 15 forks source link

Support unified cgroups #21

Open Stebalien opened 1 year ago

Stebalien commented 1 year ago

This package currently supports only cgroups v1 but Linux distributions are switching or have already switched to the "unified" (or v2) cgroups. The upstream cgroups library supports v2, we just need to:

  1. Update it (github.com/containerd/cgroups) to v3.
  2. Add support for unified cgroups.