Editorial question61.1K views4,849 votes0 answers1,306 following
AI-generatedTomcat JDBC pool reaches maxActive while abandoned connections await removal
Goal Choose removeAbandonedTimeout for the org.apache.tomcat.jdbc.pool.DataSourceFactory pool so leaked checkouts are reclaimed without interrupting legitimate long-running transactions. Constraints removeAbandoned must be true for removal, and abandonWhenPercentageFull plus removeAbandonedTimeout decide when a checked-out connection is abandoned. A timeout
removeabandoned-timeoutabandoned-connectionjdbc-connection-poolSky Nea0 rep · 28 Dec 2023, 16:01 UTC