On 12/09/2016 11:54, Yuval Schwartz wrote:
> Hello,
> 
> Tomcat: 8.0.22
> Java: jdk1.8.0_05
> Server: Amazon Linux
> 
> My web application looses access to the database after about 24hrs of
> running (probably dependent on amount of users, not time).
> 
> No messages/exceptions are printed to the console or log files.

<snip/>

> Any ideas as to what is going on?

Some form of connection leak?

For configuration options to fix the leak and track down the source see:

http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html#Preventing_database_connection_pool_leaks

You probably want to use logAbandoned="true" to find the source of any
leaks (it will slow things down so disable once you have fixed any leaks)

It might also be a bug in the connection pool that has been fixed.
Upgrading to the latest 8.0.x (or better still the latest 8.5.x) should
address that.

Mark

> I took a thread dump, but I'm not too good at analyzing those. If anyone
> has any recommendations as to what to look out for in the thread dump I'd
> be interested in hearing it.
> 
> Thank you.
> 


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

Reply via email to