I have a small production web application on a virtual dedicated server with CentOS 5.4, java 1.6.0, apache-tomcat-6.0.18, and mysql 5.0.77.
After very heavy traffic, I could no longer access my website. I got a blank screen. The catalina log said only that contextDestroyed() of the ContextListener was called.
I redeployed the application and everything seems fine. Did I hit a limit of some kind in Tomcat or Java that caused the application to crash?
You need more information, use the Management App to watch the various parameters, such as busy Threads.
Tomcat will become unresponsive it all request Threads are hung somewhere.
Joined: Mar 19, 2010
The difficulty with monitoring the application is that the crash was an isolated incident. The application has been up for a couple years without this kind of problem, although I have redeployed the application from time-to-time for other reasons.
I do create a thread pool for sending out emails, but there are only 3 threads in it, and there were only 2 users on line when the application crashed. But the traffic that day had been heavy.
Thank you for your feedback. I will look into the app. Could the problem be related to memory or garbage collection up?