Compare commits

...

1 commit

Author SHA1 Message Date
c7ed0f148f
Disable oom killer completely
All checks were successful
Unittests / deploy-dev (push) Successful in 57s
Unittests / unittests (push) Successful in 1m1s
Release / deploy-production (release) Successful in 1m6s
2025-06-14 12:38:08 +02:00

View file

@ -338,10 +338,13 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i
}
}
OOMKillDisable := false
if memory < 1500 {
OOMKillDisable = true
}
// OOMKillDisable := false
// if memory < 1500 {
// OOMKillDisable = true
// }
// We disable OOM killer because it keeps containers in resource heavy loop
// This is from some discussion: If OOM-killer is disabled, tasks under cgroup will hang/sleep in memory cgroup's OOM-waitqueue when they request accountable memory
OOMKillDisable := true
envList := []string{}
for key, value := range env {