You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Britton <jb...@gmail.com> on 2010/10/12 20:24:37 UTC

Tomcat hung - still processing a request that has yet to finish

Hi all,
Tomcat 6.0.29 on 64bit RHEL 5.5.  This particular tomcat instance had been
running fine for several days, today hung, stopped responding to requests,
no interesting log messages appeared until calling shutdown.sh.  Then the
following appeared:

(appears multiple times at end of log)
ERROR 10/12/2010 10:49:49:225 AM main
apache.catalina.loader.WebappClassLoader
The web application [] is still processing a request that has yet to finish.
This is very likely to create a memory leak. You can control the time
allowed for requests to finish by using the unloadDelay attribute of the
standard Context implementation.

ERROR 10/12/2010 10:49:49:247 AM main
apache.catalina.loader.WebappClassLoader
The web application [] appears to have started a thread named [Thread-35]
but has failed to stop it. This is very likely to create a memory leak.

ERROR 10/12/2010 10:49:49:248 AM main
apache.catalina.loader.WebappClassLoader
The web application [] appears to have started a thread named [Thread-46]
but has failed to stop it. This is very likely to create a memory leak.

The shutdown.sh script did not stop Tomcat and the process lives on.  I can
kill -9 it but didn't know if there was any additional information I could
gather before stopping it.  Suggestions on how best to debug and figure out
exactly what requests are hanging up tomcat would be greatly appreciated.
Thanks a lot for any suggestions,

Jason

Re: Tomcat hung - still processing a request that has yet to finish

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/10/12 Jason Britton <jb...@gmail.com>:
> (..) I can
> kill -9 it but didn't know if there was any additional information I could
> gather before stopping it.
>

Take a thread dump (or better three dumps in a row). You will know
what Servlet / JSP page is busy and what it is doing.

Best regards,
Konstantin Kolinko

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