From 5347df7d404839eab6acb1f8314b54e18125efda Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 24 Mar 2019 09:20:19 +0200 Subject: [PATCH] Add notes for 2019-03-23 --- content/posts/2019-03.md | 4 ++++ docs/2019-03/index.html | 17 +++++++++++++---- docs/sitemap.xml | 10 +++++----- 3 files changed, 22 insertions(+), 9 deletions(-) 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. -
  • I sent another mail to the dspace-tech mailing list with my observations
  • + +
  • 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 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

    + +
  • diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 09478c58e..65630392d 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-03/ - 2019-03-22T15:49:36+02:00 + 2019-03-23T12:50:02+02:00 @@ -214,7 +214,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-03-22T15:49:36+02:00 + 2019-03-23T12:50:02+02:00 0 @@ -225,7 +225,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-03-22T15:49:36+02:00 + 2019-03-23T12:50:02+02:00 0 @@ -237,13 +237,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-03-22T15:49:36+02:00 + 2019-03-23T12:50:02+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-03-22T15:49:36+02:00 + 2019-03-23T12:50:02+02:00 0