-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmdlib: bump supermin VM memory to 3G #2940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Started working on a patch for this. |
Could we attach the ociarchive file directly as a block device (read-only) with a fixed size to the VM and access it directly (i.e. cat/pipe it to stdin of a process that will extract it)? |
You're talking about the image creation part, right? The issue we're hitting here is rpm-ostree compose time. Image creation actually already works that way (pushing the container only through 9p and extracting inside of there). The path I'm proposing is applying the same idea but in reverse for pulling out the OSTree commit. |
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 4G which should help.
OK this is useful. Prow failed with |
3593869
to
83ce8d9
Compare
Hmm, not sure what's going on here. /retest |
@jlebon: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Yeah I should have highlighted this comment more. It's not that we're running out of memory exactly, it's that 9p specifically is trying to do something broken. We're provoking that bug by doing lots of little files. Adding more memory only papers over it in that it makes it less likely for the kernel to try reclaiming inodes. Only real fixes are:
|
Closing in favour of #2946. |
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 isto stop using 9p.
But for now to unblock CI, let's just bump the VM memory to 3G which
should help.