Hi David,
Am 17.03.2013 16:17, schrieb David Kumar:
Hey Rainer,

It got stripped by the list. Can you post it somewhere and make the URL
available?

here you go:

http://www.telestar.de/tmp10356/threaddump.txt
almost all of your threads are waiting to get a database connection out of the pool. There are three possible scenarios, where this might happen.

1. You are abandoning db connections and thus are draining the pool (most likely in my eyes) 2. The pool is too small (unlikely, since no work seems to be done other than waiting for new connections) 3. Lock contention while going through borrowObject (unlikely, since no thread is doing a validation)

So I would configure 'logAbandoned="true"' and even 'removeAbandoned="true"' and 'removeAbandonedTimeout="60"' as stated on http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html.

When your pool is getting drained, you will see a message in your log files, where you have taken connections out of the pool, but haven used them for a while. Than you can start to look for places, where those connections might have leaked.

Regards
 Felix

thanks


David


---------------------------------------------------------------------
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