Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
JRuby 1.7.0 unix sockets - 100% CPU - worked in preview2 #398
I noticed this problem first when upgrading a Rails app on a Ubuntu server using jruby-1.7.0-preview2 to jruby-1.7.0.
I'm using the puma webserver listening on a unix socket and nginx as a frontend.
On jruby-1.7.0, after a few requests CPU load of the java process goes up. Sometimes the server still responds for a few requests as the response times are getting really slow.
Reproducing this exact behavior is hard. However, i think i managed to break it down to the following steps (this time on Mac OSX):
On jruby-1.7.0-preview2 CPU load stays well under 1% for me.
This bug might aswell be a bug in the puma webserver.
I hope somebody will be able to reproduce this - i know it probably is a hassle.