Set oom score for containerd and shims
This adds a config option to set the oom score for the containerd daemon as well as automatically setting the oom score for the shim's lauched so that they are not killed until the very end of an out of memory condition. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
5
sys/oom_windows.go
Normal file
5
sys/oom_windows.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package sys
|
||||
|
||||
func SetOOMScore(pid, score int) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user