Slowly leaking connections - How to get a grip? #27566
Replies: 2 comments 8 replies
-
Beta Was this translation helpful? Give feedback.
-
You have configured Is it possible to verify how your system would behave if you were to set a lower number? Is it ever going to stabilize at the maximum, or does it get in trouble?
How do you know there are "available connections"? the green line on your plots look very low, close to zero in many instants, so I'd expect it indeed to need to enlarge the pool further. Are you sure there are no long running processes that are actively using them? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
over the past months we've built an application which controls an assembly line. We are now slowly starting into production and recognized that we leak DB connections and I can't get a grip on it.
The blue line is the "agroal_active_count" and green "agroal_available_count" from the metrics extension. The cut on the 27. is me restarting the application.
What I've seen so far:
QuarkusTransaction.run()
Our datasource configuration is pretty straight forward and default
Does anyone have any pointers or ideas what settings to tune to get more information about what is going on?
Environment:
Beta Was this translation helpful? Give feedback.
All reactions