Installing on Linux: Virtual Environment
Note
This article describes how to enable the java.security.egd option in PhenixID Server installed on Linux OS.
The reader should have some basic knowledge about PhenixID Server.
Overview
Linux installations of PhenixID Server can sometimes act a bit slow in virtual environments.
You might also see the following in server.log:
Failed to generate a seed from SecureRandom within 3 seconds. Not enough entropy?
There is an option to set this parameter during installation. If it wasn't set then and server is in virtual environment, please follow the instructions below.
Linux Kernel Version
Since Linux 5.6+, the behavior of /dev/random
has been changed to not block in case of too little entropy, /dev/random
and /dev/urandom
will now behave the same.
Instruction
See the documentation about extra VM options for how to add extra VM options. Add the following line:
-Djava.security.egd=file:/dev/./urandom”
Restart the PhenixID service.