Details
Description
End users can create and run groovy scripts that do not close database transactions, causing them to leak. Over time this can exhaust the database connection pool and lead to Nexus instability.
We have an article outlining this and how to avoid.
https://support.sonatype.com/hc/en-us/articles/115015847987-Groovy-Close-those-transactions-or-else-
Expected
- Nexus should provide some sort of built in protection against poorly written scripts leaking resources like database transactions.
- Very likely this is logging unclosed transactions at ERROR (e.g. when they're finally garbage collected)
Attachments
Issue Links
- relates
-
NEXUS-14520 Nexus unresponsive due to healthcheck asset download count
-
- Closed
-
-
NEXUS-14641 provide orientdb connection pool information in support zip / jmx mbean
-
- New
-