Function containerd_shim::cgroup::adjust_oom_score
source · pub fn adjust_oom_score(pid: u32) -> Result<()>
Expand description
Sets the OOM score for the process to the parents OOM score + 1 to ensure that they parent has a lower score than the shim