Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Threading Issues #1732
I'm having issues with a Padrino application when using puma with 4 workers and more than 2 threads, I start getting a LOT of these errors:
Using 2 threads per worker does not produce this problem.
I searched the code and found this:
This produces tons of 500s and a few 200s responses.
Adding this on padrino before_load fixes the issue:
I'm having this issue in Archlinux and Ubuntu 12.04