2011/4/29 <kkazmierc...@poczta.wp.pl>: > Hello, > Here is the configuration used: > 1. MS Windows Server 2003 R2 SP2 > 2. 4GB RAM > 3. Tomcat has set -Xmx to 1G > 4. Tomcat 5.5.30 > 5. This is production environment > > The server had been working for a long time quite well but one day it stopped > responding (it did not respond on request) with weird logs in > jakarta_service.log (see at the bottom). > > Unfortunately I do not have information about processor and memory usage from > hang moment. What these weird *s mean in the log? Is it the root cause of the > issue. Moreover there are no additional messages in other Tomcat and > application logs recorded. >
Take 3 thread dumps in a row, several seconds apart. It should show what Tomcat is actually doing at the moment. See FAQ on how to make a thread dump: http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F BTW, usual causes of hangs are a) OutOfMemoryError, including out of memory in PermGen In the latter case Tomcat cannot load any new classes. PermGen can be exhausted if you have redeployed or restarted a webapp many times without restarting the server if there is a "PermGen" memory leak. b) waiting on a resource, e.g. unlimited waiting-for-connection timeout on a database pool (maxWait) -- if all Connector threads are waiting you won't be able to connect anymore c) deadlocks (bugs) b), c) can be seen in the thread dumps What is your Java version? Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org