tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: APR with tomcat - long boot
Date Sun, 17 Jun 2007 12:41:19 GMT
Ilja S. wrote:

> Startup time of tomcat became very slow after installing APR.
> Tomcat version is 5.5.23
> APR 1.2.7
> Ubuntu, kernel 2.6.20
> Logs says INFO: Server startup in 192631 ms
> Which is more 3 minutes! Is that normal?

This may be normal if you have configured a HTTPS connector and your APR
uses /dev/random as random source. /dev/random will block if there's not
enough entropy available.
If you want to speed things up, you may move the mouse like crazy while
Tomcat is starting, hack on the keyboard like even crazier or compile
APR with
--with-devrandom=/dev/urandom
as an option to configure.

Regards
  mks


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


Mime
View raw message