Skip to content

Commit

Permalink
cmdlib: bump supermin VM memory to 3G
Browse files Browse the repository at this point in the history
Something has changed recently which causes us to hit the ENOMEM issue
more easily now:

openshift/os#594 (comment)

Mid-term, we could rework the compose so that only the OCI archive is
pulled through 9p rather than a full `pull-local`. Long-term, the fix is
to stop using 9p.

But for now to unblock CI, let's just bump the VM memory to 3G which
should help.
  • Loading branch information
jlebon committed Jun 23, 2022
1 parent 1151356 commit 3593869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ EOF

# There seems to be some false positives in shellcheck
# https://github.com/koalaman/shellcheck/issues/2217
memory_default=2048
# If this is too low, we can hit ENOMEM issues in the guest kernel related
# to a 9p memory bug: https://github.com/openshift/os/issues/594
memory_default=3072
# shellcheck disable=2031
case $arch in
# Power 8 page faults with 2G of memory in rpm-ostree
Expand Down

0 comments on commit 3593869

Please sign in to comment.