-
Notifications
You must be signed in to change notification settings - Fork 34
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
Crash when using puma forking #88
Comments
Hi bmulholland |
We have reproduced this crash (or at least, one very similar) on an Intel Mac as well. A workaround for us is to run the Rjb.load on every HTTP request, inside the worker. That workaround runs on all our machines, so there's no problem with JVM or anything. We do, however, need to use |
To add to @bmulholland 's comment, here's the configuration added to before_fork do
Rjb.load # Remove all the Rjb.load calls in the app
end |
I posted a repro here: https://github.com/bmulholland/rjb-fork-crash
Short version is that, when trying to use puma workers, Rjb.load crashes. Output is:
The text was updated successfully, but these errors were encountered: