Compare commits

...

2 commits
v11.6 ... main

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
ec1f0d3f3a
No node-26
All checks were successful
Unittests / unittests (push) Successful in 15s
Unittests / deploy-dev (push) Successful in 42s
Release / deploy-production (release) Successful in 1m5s
2025-06-14 03:05:58 +02:00
2 changed files with 8 additions and 5 deletions

View file

@ -11,7 +11,7 @@ jobs:
deploy-production: deploy-production:
runs-on: [amd64, prod] runs-on: [amd64, prod]
env: env:
NODES: node-22.rosti.cz node-23.rosti.cz node-24.rosti.cz node-25.rosti.cz node-26.rosti.cz node-28.rosti.cz node-29.rosti.cz NODES: node-22.rosti.cz node-23.rosti.cz node-24.rosti.cz node-25.rosti.cz node-28.rosti.cz node-29.rosti.cz
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: deploy - name: deploy

View file

@ -338,10 +338,13 @@ 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 {