Skip to content

Commit 7e95ddc

Browse files
classabbyampthe-maldridge
authored andcommitted
services/nomad/build/buildbot-worker: increase memory, set overcommit max
1 parent c80ee71 commit 7e95ddc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

services/nomad/build/buildbot-worker.nomad

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ job "buildbot-worker" {
55

66
dynamic "group" {
77
for_each = [
8-
// memory is ~85% of capacity
9-
{ name = "glibc", jobs = 10, mem = 109512 },
10-
{ name = "musl", jobs = 6, mem = 54512 },
11-
{ name = "aarch64", jobs = 3, mem = 27256 },
8+
// memory is ~90% of capacity
9+
// memory_max is ~95% of capacity
10+
{ name = "glibc", jobs = 10, mem = 115840, mem_max = 122270 },
11+
{ name = "musl", jobs = 6, mem = 57690, mem_max = 60890 },
12+
{ name = "aarch64", jobs = 3, mem = 28500, mem_max = 30500 },
1213
]
1314
labels = [ "buildbot-worker-${group.value.name}" ]
1415

@@ -98,6 +99,7 @@ job "buildbot-worker" {
9899
resources {
99100
cores = "${group.value.jobs}"
100101
memory = "${group.value.mem}"
102+
memory_max = "${group.value.mem_max}"
101103
}
102104

103105
volume_mount {

0 commit comments

Comments
 (0)