Compare commits
No commits in common. "main" and "v11.6-2" have entirely different histories.
1 changed files with 4 additions and 7 deletions
|
@ -338,13 +338,10 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// OOMKillDisable := false
|
OOMKillDisable := false
|
||||||
// if memory < 1500 {
|
if memory < 1500 {
|
||||||
// OOMKillDisable = true
|
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{}
|
envList := []string{}
|
||||||
for key, value := range env {
|
for key, value := range env {
|
||||||
|
|
Loading…
Reference in a new issue