From a24c2c930c6bfcf1bb0fbca79bbcdf5b7715a397 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 13 Feb 2018 15:16:18 +0200 Subject: [PATCH] Add notes for 2018-02-13 --- content/post/2018-02.md | 34 +++++++++++++++++++++++++++++++ docs/2018-02/index.html | 44 ++++++++++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 80 insertions(+), 8 deletions(-) diff --git a/content/post/2018-02.md b/content/post/2018-02.md index e159a08bd..035a6292a 100644 --- a/content/post/2018-02.md +++ b/content/post/2018-02.md @@ -419,3 +419,37 @@ dspace=# select * from metadatavalue where resource_type_id=2 and metadata_field - I think our current $40/month Linode has enough CPU and memory capacity, but we need more disk space - I think I'd probably just attach the block storage volume and mount it on /home/dspace - Ask Peter about `dc.rights` on DSpace Test again, if he likes it then we should move it to CGSpace soon + +## 2018-02-13 + +- Peter said he was getting a "socket closed" error on CGSpace +- I looked in the dspace.log.2018-02-13 and saw one recent one: + +``` +2018-02-13 12:50:13,656 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error - +org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. +... +Caused by: java.net.SocketException: Socket closed +``` + +- Could be because of the `removeAbandoned="true"` that I enabled in the JDBC connection pool last week? + +``` +$ grep -c "java.net.SocketException: Socket closed" dspace.log.2018-02-* +dspace.log.2018-02-01:0 +dspace.log.2018-02-02:0 +dspace.log.2018-02-03:0 +dspace.log.2018-02-04:0 +dspace.log.2018-02-05:0 +dspace.log.2018-02-06:0 +dspace.log.2018-02-07:0 +dspace.log.2018-02-08:1 +dspace.log.2018-02-09:6 +dspace.log.2018-02-10:0 +dspace.log.2018-02-11:3 +dspace.log.2018-02-12:0 +dspace.log.2018-02-13:4 +``` + +- I apparently added that on 2018-02-07 so it could be, as I don't see any of those socket closed errors in 2018-01's logs! +- I will increase the removeAbandonedTimeout from its default of 60 to 90 and enable logAbandoned diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index fbfcb92b7..fa5c2ffc5 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl - + @@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl "@type": "BlogPosting", "headline": "February, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-02/", - "wordCount": "2899", + "wordCount": "3020", "datePublished": "2018-02-01T16:28:54+02:00", - "dateModified": "2018-02-12T11:33:00+02:00", + "dateModified": "2018-02-12T11:38:08+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -592,6 +592,44 @@ dspace=# commit;
  • Ask Peter about dc.rights on DSpace Test again, if he likes it then we should move it to CGSpace soon
  • +

    2018-02-13

    + + + +
    2018-02-13 12:50:13,656 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error - 
    +org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
    +...
    +Caused by: java.net.SocketException: Socket closed
    +
    + + + +
    $ grep -c "java.net.SocketException: Socket closed" dspace.log.2018-02-*
    +dspace.log.2018-02-01:0
    +dspace.log.2018-02-02:0
    +dspace.log.2018-02-03:0
    +dspace.log.2018-02-04:0
    +dspace.log.2018-02-05:0
    +dspace.log.2018-02-06:0
    +dspace.log.2018-02-07:0
    +dspace.log.2018-02-08:1
    +dspace.log.2018-02-09:6
    +dspace.log.2018-02-10:0
    +dspace.log.2018-02-11:3
    +dspace.log.2018-02-12:0
    +dspace.log.2018-02-13:4
    +
    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 44b3e7152..9038256c4 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-02/ - 2018-02-12T11:33:00+02:00 + 2018-02-12T11:38:08+02:00 @@ -149,7 +149,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-02-12T11:33:00+02:00 + 2018-02-12T11:38:08+02:00 0 @@ -160,7 +160,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-02-12T11:33:00+02:00 + 2018-02-12T11:38:08+02:00 0 @@ -172,13 +172,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2018-02-12T11:33:00+02:00 + 2018-02-12T11:38:08+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-02-12T11:33:00+02:00 + 2018-02-12T11:38:08+02:00 0