tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Hokin <>
Subject Re: very slow class loading on initial JSP/servlet request after restart
Date Fri, 20 Feb 2009 17:11:21 GMT
Caldarale, Charles R wrote:
> Run jstack several times during the delay, and then let's compare the set of thread dumps.
> What is the CPU utilization during the delay?

OK, done.  The CPU utilization during the delay is tiny, 1% or less.  I've run jstack before,
during, and after I've 
done a first request on my tiny offending test JSP.  Since the jstack output is lengthy (I've
got several sites running 
on this public server, unavoidably), I've thrown the resulting output on my server for easier

jstack.0.txt ran BEFORE my test request.
jstack.1-11.txt ran DURING the long wait.
jstack.12,13.txt ran AFTER the response was received.

I wish I could divine something informative from these.  Perhaps one of you can.

I'm also trying to use Wireshark to see if there is some specific net activity that's going
on during the long wait, as 
suggested by David Smith.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message