Re:Why Is JRuby Slow?
by crazy5sheep on Saturday May 29, 2021 @12:28AM
(#27323031)
There's once I was running some jruby stuff in jenkins during a build, the job kept on hanging on some stage, I thought there must be bug somewhere, I forced kill it a couple of times with no success, but kept the last one running before I head home. Then after a couple of hours, I found out an email said the built was passed... eventually, I had figured out that jruby was using /dev/random, since jenkins was running in vm, so no enough entropy was generated. after force mounting /dev/random to urandom, the hanging issue just disappeared.
[ Parent
| on HN ]
Re:Why Is JRuby Slow?
by papercrane on Saturday May 29, 2021 @10:09AM
(#27325334)
You can pass "-Djava.security.egd=/dev/urandom" to the JVM instead of changing the mounts.