We get exceptions like this
com .mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@ 5b7a7896 -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: co m.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask@ 55bc5e2a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-
when loading the testing of our application on MSSQL 2008 R2 (jTDS or official MS JDBC does not matter) . We never get this exception when running the same tests with PostgreSQL or MySQL .
We do not just want to increase the number of auxiliary threads for c3p0 (which solves the problem, but for how long?). We want to know what the problem is, because it works with other DBMSs. "
Applications behave like:
- Send X Requests
- Wait a while โ DEADLOCK
- Send X Requests
- Wait a while โ DEADLOCK
Does anyone know or have an idea why we have this behavior with MSSQL?
Thanks Adrian
(Btw. BoneCP works without any problems).
source share