tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: Tomcat hangs on startup
Date Tue, 22 Sep 2009 10:34:51 GMT
On 22.09.2009 10:29, Mark Thomas wrote:
> RogerV wrote:
>> I'm running Tomcat 6.0.18 on Debian Linux (Lenny). Tomcat is configured to
>> start automatically through the init process, but it hangs using 95+% of the
>> CPU and won't respond to /etc/init.d/tomcat stop. I have to kill the
>> process. I've tried manually starting it as root with /etc/init.d/tomcat
>> start and with /opt/tomcat/bin/ but the same thing happens. The
>> last entry in catalina.<date>.log in all cases is INFO: Overriding property
>> struts.configuration.xml.reload old value false new value:true
>> However, if I cd to the directory /op/tomcat/bin and run ./ from
>> there Tomcat starts normally. Has anyone got an idea as to what might be
>> going on?
> Use kill -3 to take a couple of thread dumps ~15s apart when it hangs.
> Compare the thread dumps to see which thread(s) is(are) stuck.

And if you use something like "ps -L" you can identify the thread number
of the thread using the CPU time. That number on most OSes corresponds
either to the tid or the nid value shown in the header lines before each
thread stack of the dump. The tid and id are in hex though.



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

View raw message