Hi!

Tomcat on my ubuntu 8.04 (x64) server starts too slow.

I tried both bundled ubuntu version (tomcat 5.5.25) and newer tomcat
6.0.29.
The start time does not depend on application installed - even empty
tomcat distribution starts slow.

I googled that problem is somehow related to random generator - but I
disabled all SSL - and nothing changed.

The most of the time consumes Catalina initialization. It lasts
more than three minutes. The following lines from catalina.out log near
time gap (turned on finest log level)

[catalina.out]
....
10.08.2010 11:27:00 org.apache.catalina.core.ContainerBase addChildInternal
FINE: Add child StandardHost[localhost] StandardEngine[Catalina]
10.08.2010 11:27:00 org.apache.catalina.connector.Connector initialize
FINE: Creating name for connect
Catalina:type=Connector,port=7080
10.08.2010 11:30:09 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-7080
10.08.2010 11:30:09 org.apache.catalina.connector.Connector initialize
FINE: Creating name for connector Catalina:type=Connector,port=7009
10.08.2010 11:30:09 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 189344 ms
....

Sending QUIT to java does not produces dump of hanging thread - even
after that soft 'killing' - tomcat continue to start.

Reply via email to