Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faster startup #1

Open
carueda opened this issue Nov 24, 2017 · 0 comments
Open

faster startup #1

carueda opened this issue Nov 24, 2017 · 0 comments

Comments

@carueda
Copy link
Member

carueda commented Nov 24, 2017

On the COR instance I noted a rather long delay for the orr service to completely be up and running:

$ docker logs -f orr
...
WARNING .. org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom 
Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [144,668] milliseconds.
...

https://wiki.apache.org/tomcat/HowTo/FasterStartUp#Entropy_Source suggests:

There is a way to configure JRE to use a non-blocking entropy source by setting the following system property: -Djava.security.egd=file:/dev/./urandom

which is mentioned in docker-library/tomcat#12

@carueda carueda changed the title very long start faster startup Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant