tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter Temmerman <>
Subject Re: very slow class loading on initial JSP/servlet request after restart
Date Wed, 25 Feb 2009 09:49:19 GMT

> Thanks, Juha.  Actually Pieter suggested it a little while ago, and I've been trying
to get some information out of 
> strace.  The best I can do is to put strace in front of the java command that's inside  That's the command 
> that shows with ps -ef when Tomcat is running.  BUT, I get nothing out of strace when
I make page requests on a site, it 
> just shows output during Tomcat startup.  So, I've not figured out how to get strace
to say what the JVM is during the 
> delay.  

Try this strace command:

strace -f -etrace=\!futex,gettimeofday,clock_gettime -p

where PID_OF_TOMCAT_JAVA is the PID of your Tomcat, duh! :)

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

View raw message