Dnia 29-04-2011 o godz. 12:36 Konstantin Kolinko napisaƂ(a):
> 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
> 



Hello,
Thank you Konstantin for fast reply!
I know what I can do in the future to diagnose it (gather thread dumps). The 
Java used is IBM JRE 5.0.

Do you know what is the root cause of weird logs in jakarta_service.log (many 
following lines: [2011-04-28 10:24:25] [info] *s)?



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

Reply via email to