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: report "out of memory" if Solaris mmap fails with EAGAIN #14930
Comments
Does this happen consistently? Can you tell us how to recreate the problem? The call to |
It could indeed be that it's running out of memory. I don't have a small reproducer, but I can allocate more memory to the system and see if that's the case. If it is, we can close this, otherwise I'll try to narrow it down. (If it's "just" a case of running out of memory, could the error possibly be worded more clearly? I would not have filed an issue for |
We do print a better error message for |
👍 The memory handling is a bit different on Solaris as every allocation is indeed a swap allocation and there is no memory overcommit. :) This is also in a zone, which means memory is limited artificially by a quota. That could mean we get different error messages back from the system calls, I'm not sure. |
I'm not seeing this crash after raising the amount of available memory, so I think that's it, yes. |
Thanks for following up. Leaving the issue open to change the error message when mmap returns EAGAIN on Solaris. |
so I am trying to get this to work (using syncthing 0.14.7) on sol10 My error is similar to above (see attached): The system is a sol10 server with like 260G of ram |
@choman I don't think that what you are seeing has anything to do with this issue. Please use a forum (http://golang.org/wiki/Questions) or open a new issue. |
CL https://golang.org/cl/43461 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
go version
)?Go 1.6
go env
)?Cross compiled for solaris/amd64.
Running latest version (master, v0.13.0-beta.0-147-g31362df) of Syncthing. Used to run stable on Solaris.
No unexpected crashes.
The text was updated successfully, but these errors were encountered: