Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Database Connection leak

Dynatrace Supporter
Dynatrace Supporter

I see some leaked connections in Connection Pool dashboard. The customer uses Hibernate framework t. The customer wants to know which request caused connection pool leak. How do I analyze this problem? Any suggestion?


Dynatrace Pro
Dynatrace Pro


I have done something similar before. A customer was trying to find a leak for a specific web page.

I ended up building a business transaction which was counting the number of open connections and close connections split by URL. I had to create a method sensor for the close connection as it isn't instrumented by default. I have attached a couple of screenshots.

If the numbers don't match then you have found the culprit!


Thanks for your reply. I will try your suggestion.

Cool stuff!