Skip to content
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

Print errno when mprotect fails #4996

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

tenderlove
Copy link
Member

Trying to figure out the problem on s390x.

Trying to figure out the problem on s390x.
@tenderlove tenderlove merged commit b0c3f18 into ruby:master Oct 20, 2021
@tenderlove tenderlove deleted the errno-on-mprotect-fail branch October 20, 2021 22:06
@ioquatix
Copy link
Member

It could be alignment or page size... but that would be too obvious. I'm going to vote for, it's running out of memory mapping resources - you might literally be hitting the maximum number of mappings allowed. I found this the hard way when making lots of fibers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants