-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan,

Alan Chaney wrote:
| Problems with /dev/random relate to waiting to generate enough entropy
| after restart of the OS. Does this slow start up happen only after the
| machine has been restarted or does it happen every time Tomcat is
| started?

It is not really related to either... whenever the buffer of randomness
is exhausted, readers will block waiting for more. The keyboard tends to
be a good place (at least, on Linux systems) to get randomness so if you
have physical access to a machine, consider pounding on the keyboard a bit.

| If the latter, then it is unlikely to be associated with
| /dev/random and much more likely to
| be something like an unresolved IP address causing a network timeout.

Always a possibility.

| As Juha suggests, get a thread dump and work out exactly what the
| problem is.

Always good advice.

If the problem /does/ turn out to be /dev/random, you can change your
JVMs source of randomness by editing
$JAVA_HOME/jre/lib/security/java.security and changing the value of the
"securerandom.source" property. The aforementioned file includes in-text
documentation to help you with that. It also suggests the name of a
system property that can be used to the same effect.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfEU8IACgkQ9CaO5/Lv0PD7iwCdEQUhIHh1uwcZQx102bmKxBnH
8XIAoLNu7exb6nQeWC3XxJ4ULvGbMdkm
=nqt4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to