Quarkus transaction periodic recovery connection leak

Solution Verified - Updated -

Issue

  • Every two minutes, the "periodic recovery" thread runs for each XA data source. It opens a connection to the database (Microsoft SQL Server), performs some queries, and then closes the connection. Over time, the difference between "Start create new connection for pool" and "Closing physical connection" log entries shows that database connections are left open, which is confirmed on the SQL Server end in the dm_exec_connections table.

Environment

  • Quarkus

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content