Slow Startup

 

Insufficient entropy

 

 MailArchiva relies on secure random to perform license checks, etc. Server startup times may be slow due to lack of available entropy on the machine.

 
Linux Resolution

 

cat /proc/sys/kernel/random/entropy_avail

 

If the output of the above command is below ten, insufficient entropy could be the reason why your server is slow to start. A possible solution is to install Haveged to increase the amount of entropy available.

 

To install Haveged on RHEL/Fedora/CentOS machines:

 

yum install haveged
chkconfig haveged on

 

To install Haveged on CentOS 8:
 

yum install wget -y
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install epel-release-latest-8.noarch.rpm -y
yum install haveged -y

 

 

DNS settings incorrect

 

Linux Resolution

 

Incorrect network configuration may slow startup. Specifically, the Java call:
 

InetAddress.getLocalHost();

 

Will be slow to perform if localhost is not setup correctly on /etc/hosts

 

127.0.0.1   servername

::1         servername

 

 

© 2005 - 2024 ProProfs

Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.

-