Disable OOM killer for apps with less than 1.5 GB of RAM
This commit is contained in:
parent
072a643c1d
commit
37ca4ece39
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i
|
|||
}
|
||||
|
||||
OOMKillDisable := false
|
||||
if memory < 250 {
|
||||
if memory < 1500 {
|
||||
OOMKillDisable = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue