|
From: Michael S. <mi...@st...> - 2014-11-20 12:17:04
|
HI! It seems that ejbca.sh is so slow on my test systems because those are VMs in a KVM cluster and there's not enough entropy in /dev/random, and therefore starting a JVM hangs in gathering entropy... Also running haveged does not help since it's not real hardware. So how to enforce ejbca.sh using /dev/urandom instead? I've tried to edit ejbca.sh: exec "$JAVACMD" -Djava.security.egd=file:/dev/urandom -jar [..] But it does not help either. Nope, I don't want to directly muck with /dev/random like described in this "solution" (top on Google): http://nofluffjuststuff.com/blog/pratik_patel/2010/01/solution_futex_wait_hangs_java_on_linux__ubuntu_in_vmware_or_virtual_box Ciao, Michael. |