It seems your haveged is not working properly. Please perform some more
tests:
1. Look for the logs in /var/log/tomcat8/catalina.out for a line similar to
/INFO: Creation of SecureRandom instance for session ID generation using //
//[SHA1PRNG] took [313,537] milliseconds./
It should read
Hi Daniel,
Thank you for the reply.
The test was made at home, running the VM on my i7 laptop.
#Running the VM on the real hypervisor server and network:
service tomcat8 stop && service tomcat8 start && time curl
http://127.0.0.1:8080/geoserver/web
#returns
real1m5.163s
user0m0.000s
sys
Hi, Ricardo,
Your geoserver already starts in a reasonable time. I was unsettled
with my installation because it took six minutes. Since haveged did not
change the time needed to run your test, it seems geoserver (actually
tomcat8) is not limited by entropy on startup.
To make sure
Oi Daniel,
Very interesting! I use VM's a lot and always found geoserver very slow to
start. :(
On my "Ubuntu 16.04 server minimal VM, clean install", running on vmware
player:
(needed previous: sudo apt install curl)
sudo su
service tomcat8 stop && service tomcat8 start && time curl
hris Snider
>> Senior Software Engineer
>> Intelligent Software Solutions, Inc.
>>
>>
>> -----Original Message-
>> From: Daniel Araujo Miranda [mailto:miranda@dpf.gov.br]
>> Sent: Friday, January 27, 2017 6:16 AM
>> To: geoserver-users@lists.source
da [mailto:miranda@dpf.gov.br]
> Sent: Friday, January 27, 2017 6:16 AM
> To: geoserver-users@lists.sourceforge.net
> Subject: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min
>
> Hello everyone,
>
> TLDR: Change the line "securerandom.sour
[mailto:jody.garn...@gmail.com]
Sent: Friday, January 27, 2017 2:19 PM
To: Daniel Araujo Miranda <miranda@dpf.gov.br>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Quick tip: geoserver startup in 13s instead of
6min
What is random number entropy?
--
Jody G
Jody,
tl;dr: the pool used to create the random numbers has the entropy.
Linux maintains a pool of entropy from nondeterministic sources such as
device timings, interrupts, mouse and keyboard activity, and so on. The
entropy pool is then used to seed a pseudo-random number generator. The
What is random number entropy?
--
Jody Garnett
On 27 January 2017 at 05:15, Daniel Araujo Miranda
wrote:
> Hello everyone,
>
> TLDR: Change the line "securerandom.source=file:/dev/random" in
> "/etc/java-8-openjdk/security/java.security" to point to /dev/urandom
>
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min
Hello everyone,
TLDR: Change the line "securerandom.source=file:/dev/random" in
"/etc/java-8-openjdk/security/java.security" to point to /dev/urand
Hello everyone,
TLDR: Change the line "securerandom.source=file:/dev/random" in
"/etc/java-8-openjdk/security/java.security" to point to /dev/urandom
instead to start a clean geoserver install in 13 seconds instead of 6
minutes. Be mindful of security implications.
I have been
11 matches
Mail list logo