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/startup.sh 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 ./startup.sh 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.

Regards,

Rainer

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

Reply via email to