仔细检查了下,发现$JAVA_HOME/jre/lib/security/java.security中用的是file:/dev/random!
当我把file:/dev/random改成file:/dev/urandom后,启动速度快了一分钟……
tomcat 启动慢 Creation of SecureRandom instance for session ID generation using [SHA1PRNG]
最新推荐文章于 2022-02-26 15:51:01 发布
仔细检查了下,发现$JAVA_HOME/jre/lib/security/java.security中用的是file:/dev/random!
当我把file:/dev/random改成file:/dev/urandom后,启动速度快了一分钟……