Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to troubleshoot threads?

Status
Not open for further replies.

developerinlondon

Programmer
Jan 11, 2003
196
GB
it seems when the server gets loaded tomcat creates extra sleeping processes on the server and we get zombie threads, ie threads that shows up in the tomcat manager as sitting there without ever dying. on the tomcat manager i also see error count going up.
theres no detail on the catalina.out etc. is there any way I can find out exact details on the threads that are becoming vampires and how it all started?
 
I guess you will need to troubleshoot or debug like everyone else does :

1) Try to recreate the behaviour with the simplest page you can. Add debug to try to pin down the cause.

2) If this fails, then download the tomcat source code, and start reading !

--------------------------------------------------
Free Database Connection Pooling Software
 
Oh, and if that fails, then start reading the core API source code.

--------------------------------------------------
Free Database Connection Pooling Software
 
problem is it only happens when we hit high load on the server. and when it happens only way to keep the site going is to turn tomcat off and revert to php so that we dont lose traffic.
 
Well you must have some load testing kit and a dev/test server surely ?

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top