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: Very Slow Startup with APR
Date Tue, 21 Aug 2007 07:39:42 GMT
Adrian Sutton schrieb:

> I've been setting up Tomcat 5.5, with Java 5 on a Debian Etch server  
> with a lot of success and just one problem - Tomcat seems to take a  
> long time to load. I think the problem started when I installed APR/ 
> tomcat native and enabled SSL through it but it's hard to pin point  
> because the whole setup came together largely at once (it's a brand  
> new server).

WAG: your APR uses /dev/random as random source which blocks when it
runs out of entropy.
You could re-build APR after you ./configure'd it with
--with-devrandom=/dev/urandom
or you could try Mladen's advice here
http://marc.info/?l=tomcat-user&m=118209169008472&w=2
"Or one can simply create a $HOME/.rnd file by himself
with 'openssl rand -out $HOME/.rnd 2048'"

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