Skip to content

Commit 04924ae

Browse files
pmurdmitshur
authored andcommitted
env/linux-ppc64le/osuosl: increase container ram limits
We are hitting resource limit during the API tests which is causing consistent failures. These VM's claim to have 20G ram allocated and run to up to 5 builders. This will potentially overcommit them, but I suspect some amount of that usage is shared. Likewise, remove specific number from ppc64 builders in the event we need change this number again. Fixes golang/go#44541 Change-Id: Ifad1aeb9f461d59151d569d878d94d93cb426351 Reviewed-on: https://go-review.googlesource.com/c/build/+/296669 Reviewed-by: Dmitri Shuralyov <[email protected]> Trust: Lynn Boger <[email protected]>
1 parent 0364c52 commit 04924ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

env/linux-ppc64/osuosl/rundockerbuildlet.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WantedBy=network-online.target
99
Type=simple
1010
# The (-n * -cpu) values must currently be <= number of host cores.
1111
# The host has 10 cores, so the -n=5 (five containers) * -cpu=2 (two CPUs per container) == 10.
12-
# TODO: add -memory=3.9g once the docker/crun issues are fixed to support memory limits.
12+
# TODO: Use -memory option once the docker/crun issues are fixed to support memory limits.
1313
ExecStart=/usr/local/bin/rundockerbuildlet -basename=ppc64_ -image=golang/builder -n=5 -cpu=2 -memory= --env=host-linux-ppc64-osu
1414
Restart=always
1515
RestartSec=2

env/linux-ppc64le/osuosl/rundockerbuildlet.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WantedBy=network-online.target
99
Type=simple
1010
# The (-n * -cpu) values must currently be <= number of host cores.
1111
# The host has 10 cores, so the -n=5 (five containers) * -cpu=2 (two CPUs per container) == 10.
12-
ExecStart=/usr/local/bin/rundockerbuildlet -basename=power_ -image=golang/builder -n=5 -cpu=2 -memory=3.9g --env=XXX
12+
ExecStart=/usr/local/bin/rundockerbuildlet -basename=power_ -image=golang/builder -n=5 -cpu=2 -memory=4.9g --env=XXX
1313
Restart=always
1414
RestartSec=2
1515
StartLimitInterval=0

0 commit comments

Comments
 (0)