In the jre/lib/security/java.security file for the JDK you
are running WLS under look for this line:
securerandom.source=file:/dev/urandom
and change it to:
securerandom.source=file:/dev/./urandom
It cuts the startup time in half. It has to do
with a bug where Java interprets /dev/urandom as /dev/random which is a really
slow RNG in Linux. Adding the /./ reference is a simple workaround and
makes it go back to /dev/urandom as the RNG.
No comments:
Post a Comment