As I said, everything said before getting more details would be mere speculation.
I'm just brainstorming based on information you gave so far.
I would recommend to check a heap dump and profiling using VisualJVM of application while running. It would give a better idea.

Regards,

Edson


Em 12/02/2013 16:18, Cool Techi escreveu:
I am guessing it would when more users come into the system, but why would this 
cause a jump in memory utilization in tomcat and then hanging. If you could 
throw more light at this?

Also, I am not sure if these are pointing to the problem.

-Ayush

Date: Tue, 12 Feb 2013 16:00:12 -0200
From: edsonrich...@hotmail.com
To: users@tomcat.apache.org
Subject: Re: Tomcat hanging unexpectedly [URGENT]

Em 12/02/2013 15:53, Cool Techi escreveu:

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
Would it have exhausted database connections limit?

Edson

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: edsonrich...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

                                        

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

                                        


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

Reply via email to