infinispan / infinispan-images

Infinispan is an open source data grid platform and highly scalable NoSQL cloud data store.
https://infinispan.org
Apache License 2.0
32 stars 21 forks source link

JDK images should use `file:/dev/urandom` to prevent blocking #155

Open ryanemerson opened 3 years ago

ryanemerson commented 3 years ago

The UBI images uses /dev/random by default which can block. Instead we should utilise file:/dev/urandom by setting the -Djava.security.egd=file:/dev/urandom property on server startup.

https://docs.oracle.com/cd/E13209_01/wlcp/wlss30/configwlss/jvmrand.html