diff --git a/content/posts/2019-03.md b/content/posts/2019-03.md index 57d6f80f4..9e68b4954 100644 --- a/content/posts/2019-03.md +++ b/content/posts/2019-03.md @@ -694,4 +694,8 @@ org.postgresql.util.PSQLException: This statement has been closed. - It's hard to tell because we have `logAbanded` enabled, but I don't see anything in the `tomcat7` service logs in the systemd journal - I sent another mail to the dspace-tech mailing list with my observations +- I spent some time trying to test and debug the Tomcat connection pool's settings, but for some reason our logs are either messed up or no connections are actually getting abandoned +- I compiled this [TomcatJdbcConnectionTest](https://github.com/gnosly/TomcatJdbcConnectionTest) and created a bunch of database connections and waited a few minutes but they never got abandoned until I created over `maxActive` (75), after which almost all were purged at once + - So perhaps our settings are not working right, but at least I know the logging works now... + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 3949ead74..56521e928 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "@type": "BlogPosting", "headline": "March, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-03/", - "wordCount": "4249", + "wordCount": "4332", "datePublished": "2019-03-01T12:16:30+01:00", - "dateModified": "2019-03-22T15:49:36+02:00", + "dateModified": "2019-03-23T12:50:02+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -932,7 +932,16 @@ org.postgresql.util.PSQLException: This statement has been closed.
logAbanded
enabled, but I don’t see anything in the tomcat7
service logs in the systemd journalI sent another mail to the dspace-tech mailing list with my observations
I spent some time trying to test and debug the Tomcat connection pool’s settings, but for some reason our logs are either messed up or no connections are actually getting abandoned
I compiled this TomcatJdbcConnectionTest and created a bunch of database connections and waited a few minutes but they never got abandoned until I created over maxActive
(75), after which almost all were purged at once