Charlie Sharpsteen
09/25/2025, 2:02 PMglbic version on CentOS 7 is old. When JRuby 9 evaluates backticks, it expects to call through to posix_spawn(3) to get efficient process creation.
However, older GLIBC versions didn't bother with implementing that. You get a plain fork(), which means Copy-on-Write has to be set up for the entire Java memory space. While that setup is happening, you have a bunch of active Java threads that are modifying memory which forces a bunch of allocations to happen before you reach exec and it all gets thrown away to launch the ssh-keygen binary.
Doing that 11,000 times is going to be bad.