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
Output warning message if running version of Ruby capable of production Segmentation Fault #441
Comments
Hi @tsully193! This sounds like it could be this bug in Ruby itself: https://bugs.ruby-lang.org/issues/14634. |
We also noticed segmentation faults in ruby
the fix for the above mentioned bug seems to have been backported to 2.5 here. |
What are your server setup(s)? Are either of you using a threaded server like Puma? Do you set it to |
We are using passenger with When I change the spawn method to I think this behaviour should be documented somewhere even though it's a ruby bug since the result of the segmentation fault is a lot of requests failing with a 502 after integrating the gem. |
I have added a Passenger based env to our test project to try and reproduce this but haven't been able to yet. Do you see any differences between that and your setup that could potentially get the two closer? |
When either of you have the chance to test whether this bug was also fixed for you, please report back here 😊 |
Recently we saw the Ruby agent of APM cause segmentation fault in one of our apps running version 2.5.3. A sanity check that either prevents the agent from starting or at least outputs a warning message about the possibility of segmentation fault occurring if you are running version 2.5-2.5.3 of Ruby would be greatly appreciated.
The text was updated successfully, but these errors were encountered: