-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
runtime: netbsd "fork/exec: cannot allocate memory" #22871
Comments
@bsiegert, does this line of the Anita script restrict the machine to 1G of memory always, even if the GCE VM has much more than that?
But that still doesn't explain how NetBSD built & tested all of the standard library successfully and only failed at this one |
No, this is just the amount of memory to use in the staging qemu environment. The VM comes up with as much memory as configured. However, there might be a ulimit in place. When I log in as root on another NetBSD instance, I get
|
Setting the ulimits as in run.bash allows the test to complete.
|
I kinda doubt the 1024 file descriptor limit was the problem (unless the NetBSD port is leaking fds). So it's probably the And no, the buildlet doesn't use |
Change https://golang.org/cl/79955 mentions this issue: |
Yup, RLIMIT_DATA did the trick. Now NetBSD builders are sometimes passing. (sometimes they're hanging in the runtime tests, but that's unrelated) |
The netbsd-amd64 builder is back, running the 8.0 branch of NetBSD, which fixed a number of NetBSD bugs Go was hitting.
Maybe not all of them, though.
Now we always get:
https://build.golang.org/log/287c5e00e0c6c05cd76f81cbf57062325e1052a9
These instances are gomote-able (
gomote create netbsd-amd64-8branch
) if yougo get -u golang.org/x/build/cmd/gomote
. They may not havegomote ssh
configured yet, though./cc @ianlancetaylor @aclements @bsiegert
The text was updated successfully, but these errors were encountered: