tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cool Techi <cooltec...@outlook.com>
Subject RE: Tomcat hanging unexpectedly [URGENT]
Date Tue, 12 Feb 2013 17:53:31 GMT



I am new to this, I have just installed YourKit and see a lot of threads blocked,but currently
my response are fine, the blocked thread are showing the following

Blocker Thread QuartzSchedular_Worker-6 native ID ..

On clicking on the Blocker thread it shows me the following,


      org.apache.log4j.Category.callAppenderscom.mysql.jdbc.SingleByteCharsetConverter.getInstanceorg.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrorObject()org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.addObjectToPool()ogr.apache.tomcat.dbcp.pool.impl.GenericObjectPool.getNumIdle
Does any of these sound like  reason. It would be great to get pointed in the right direction.
Regards,Ayush

> Date: Tue, 12 Feb 2013 15:35:40 -0200
> From: edsonrichter@hotmail.com
> To: users@tomcat.apache.org
> Subject: Re: Tomcat hanging unexpectedly [URGENT]
> 
> There is a similar thread published a week ago.
> It can be caused by almost anything, and my last suspect would be Tomcat 
> it self.
> Most of time, the cause is some programming error, like:
> - missing step out of recursive loop
> - loading too many objects is memory (for example, when using JPA where 
> graph of objects are all connected - so, when you load one object, all 
> database is read into memory)
> - some deadlock in multi-threaded application...
> 
> How to discover:
> 
> 1) Try to get a memory dump and check how your memory is being used
> 2) Get a heap dump (stack trace, as well) or currently running 
> application when it is hang, and check for deadlocks
> 3) Use VisualVM to get a big picture of what the virtual machine is doing
> 4) Put the application running under profiler (like JRockit Mission 
> Control, or NetBeans profiler)
> 
> These are some ideas...
> 
> Regards,
> 
> Edson
> 
> 
> Em 12/02/2013 15:27, Cool Techi escreveu:
> > Hi,
> >
> > We are using tomcat 6.0.26 on windows 2008 web server, with Jdk 1.6.32 installed
on the server.
> >
> > The
> >   server seems to be running smoothly most of the time, but suddenly the
> > memory used goes very high and tomcat stops responding, the logs don't
> > show any out of memory or thread exceptions.
> >
> > What could be causing this?
> >
> > Regards,
> > Ayush 		 	   		
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message