Open hholierhoek opened 1 year ago
It looks like the pool didn't get shut down (i.e. with ComboPooledDataSource.close()
), and the Connection attempts are neither succeeding nor failing promptly with an Exception, but just hanging, despite the connectTimeout
.
c3p0 version is 0.9.5.5, Hibernate version is 5.5.8.Final.
In a scenario where Hibernate was initialized, then quite quickly it got shut down. The c3p0 pool seems to continue trying to create 3 connections though, and is logging the 'APPARENT DEADLOCK' thing periodically.
From thread dumps I can confirm there are no clients still trying to use Hibernate.
PostgreSQL is not accepting connections at this point. The PG connection URL has:
Hibernate configuration for c3p0 is:
The 'deadlock' stack trace log: