-
Notifications
You must be signed in to change notification settings - Fork 746
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
Vary long start #12
Comments
It looks like you're running on a machine with low entropy.
|
It is a virtual machine. How can I increase entropy? |
I've run into this problem before with boot2docker/VirtualBox and didn't
find a great solution.
I think I ended up sshing into the VM and running something like “du -x /"
repeatedly until the available entropy got high enough. I looked for a way
for the VM to share the host's entropy pool, but didn't find anything.
|
Here's a related issue in the VirtualBox issue tracker that has a couple other suggestions on how to get more entropy into the VM: https://www.virtualbox.org/ticket/11297 |
Thank you for the answers. |
What about changing catalina.sh to use /dev/urandom via a java property. |
@dpwspoon That's a reasonable workaround for development purposes. |
I'm bumping into this tonight — startups that take 5-10 minutes. Has anyone ever figured out a real solution to this for production systems? |
I would infer from the linked post and article that switching to |
That is correct |
FYI, for a while Docker has had a trivial way to make this switch that doesn't involve any changes to Tomcat or a system property — |
Sounds like this is pretty well understood and solved now. 👍 (Might be worth adding something to the image documentation, if it's still a recurring problem. 😄) |
Image tomcat:8.0.22-jre8
Vary long start.
log:
The text was updated successfully, but these errors were encountered: