tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Osipov, Michael" <michael.osi...@siemens.com>
Subject Slow startup of webapps (e.g., manager) after migration
Date Fri, 21 Jun 2019 12:13:56 GMT
Folks,

we're migrating off old hosts to new ones, but remain at 8.5.x (.34 to 
.42 at the moment) and Java 8. Surprisingly, an empty Tomcat wih just 
manager installed takes way too long too start. More precisely, the 
Tomcat is fast, deploying manager app is horribly slow:

> 2019-06-21T13:50:35.233 INFORMATION [deblndw024v.ad001.siemens.net-startStop-3] org.apache.catalina.startup.HostConfig.deployDirectory
Deployment of web application directory [/var/opt/tomcat-smartld/webapps/manager] has finished
in [47,818] ms
> 2019-06-21T13:07:40.484 INFORMATION [deblndw024v.ad001.siemens.net-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deployment of web application directory [/var/opt/tomcat-smartld/webapps/manager] has finished
in [126,041] ms
> 2019-06-21T13:17:35.885 INFORMATION [deblndw024v.ad001.siemens.net-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deployment of web application directory [/var/opt/tomcat-smartld/webapps/manager] has finished
in [80,368] ms

Which class do I need to set to FINEST to narrow down the cause?
 > org.apache.catalina.startup.HostConfig.level = FINEST
did not help. If nothing helps, I'd debug the Tomcat code.

Note: I haven't tried any of our own apps for now, but this slow 
deployment gives me creeps.

FWIW, I am running off:
> 2019-06-21T13:16:14.371 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
Server version:        Apache Tomcat/8.5.42
> 2019-06-21T13:16:14.376 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
Server built:          Jun 4 2019 20:29:04 UTC
> 2019-06-21T13:16:14.377 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
Server number:         8.5.42.0
> 2019-06-21T13:16:14.377 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Name:               HP-UX
> 2019-06-21T13:16:14.377 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Version:            B.11.31
> 2019-06-21T13:16:14.377 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
Architecture:          IA64N
> 2019-06-21T13:16:14.378 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
Java Home:             /opt/java8/jre
> 2019-06-21T13:16:14.378 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Version:           1.8.0.17-hp-ux-b1
> 2019-06-21T13:16:14.379 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Vendor:            Hewlett Packard Enterprise Company
> 2019-06-21T13:16:14.386 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.6].
> 2019-06-21T13:16:14.386 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
> 2019-06-21T13:16:14.386 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
APR/OpenSSL configuration: useAprConnector [true], useOpenSSL [true]
> 2019-06-21T13:16:14.401 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL
OpenSSL successfully initialized [OpenSSL 1.0.2k  26 Jan 2017]

I have compiled all native components myself, except for Java and 
OpenSSL. They are provided by HPE in binary form.
Note: OpenSSL update to 1.0.2r is pending, but this should not be cause 
here.

Michael

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


Mime
View raw message