A Manic Developer's Place

Sparkjava or tomcat slow to start on cloud VM

January 24, 2018

Java

There might not be enough entropy from /dev/random causing blocking. Use a software solution like Haveged. Install haveged on ubuntu:


sudo apt-get install haveged

Check entropy on linux with:


 cat /proc/sys/kernel/random/entropy_avail

ManicDev on Github

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/O d-pu s-:+++ a+ C+++ UL+++ P- L++ E--- W+++ N o-- K--? w++ O M+ V PS PE Y+ PGP t+ 5? X+ R tv- b+ DI- D++ G e+ h++ r++ z
------END GEEK CODE BLOCK------