Sparkjava or tomcat slow to start on cloud VM

Java
<p>There might not be enough entropy from /dev/random causing blocking. Use a software solution like Haveged. Install haveged on ubuntu:</p> <pre><code>sudo apt-get install haveged </code></pre> <p>Check entropy on linux with:</p> <pre><code>cat /proc/sys/kernel/random/entropy_avail </code></pre>

© 2026 Code0x378