From 513fda2f8c48c9762e160bd5269600e8feda73d4 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 17 Aug 2017 11:43:00 +0300 Subject: [PATCH] Add notes for 2017-08-17 --- content/post/2017-08.md | 44 ++++++++++++++++++++++++++++++ public/2017-08/index.html | 57 ++++++++++++++++++++++++++++++++++++--- public/sitemap.xml | 10 +++---- 3 files changed, 103 insertions(+), 8 deletions(-) diff --git a/content/post/2017-08.md b/content/post/2017-08.md index c40b6b930..c0e514b45 100644 --- a/content/post/2017-08.md +++ b/content/post/2017-08.md @@ -237,3 +237,47 @@ isNotNull(value.match(/(.+?)\|\|\1/)) - Abenet was asking if there was some way to hide certain internal items from the "ILRI Research Outputs" RSS feed (which is the top-level ILRI community feed), because Shirley was complaining - I think we could use `harvest.includerestricted.rss = false` but the items might need to be 100% restricted, not just the metadata - Adjust Ansible postgres role to use `max_connections` from a template variable and deploy a new limit of 123 on CGSpace + +## 2017-08-17 + +- Run Peter's edits to the CGIAR System Organization community on DSpace Test +- Uptime Robot said CGSpace went down for 1 minute, not sure why +- Looking in `dspace.log.2017-08-17` I see some weird errors that might be related? + +``` +2017-08-17 07:55:31,396 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/12/handle/10568/65885?pipelinehash=823411183535858997_T-Navigation-3368194896954203241. Error was invalid stream header: 00000000 +java.io.StreamCorruptedException: invalid stream header: 00000000 +``` + +- Weird that these errors seem to have started on August 11th, the same day we had capacity issues with PostgreSQL: + +``` +# grep -c "ERROR net.sf.ehcache.store.DiskStore" dspace.log.2017-08-* +dspace.log.2017-08-01:0 +dspace.log.2017-08-02:0 +dspace.log.2017-08-03:0 +dspace.log.2017-08-04:0 +dspace.log.2017-08-05:0 +dspace.log.2017-08-06:0 +dspace.log.2017-08-07:0 +dspace.log.2017-08-08:0 +dspace.log.2017-08-09:0 +dspace.log.2017-08-10:0 +dspace.log.2017-08-11:8806 +dspace.log.2017-08-12:5496 +dspace.log.2017-08-13:2925 +dspace.log.2017-08-14:2135 +dspace.log.2017-08-15:1506 +dspace.log.2017-08-16:1935 +dspace.log.2017-08-17:584 +``` + +- There are none in 2017-07 either... +- A few posts on the dspace-tech mailing list say this is related to the Cocoon cache somehow +- I will clear the XMLUI cache for now and see if the errors continue (though perpaps shutting down Tomcat and removing the cache is more effective somehow?) +- We tested the option for limiting restricted items from the RSS feeds on DSpace Test +- I created four items, and only the two with public metadata showed up in the community's RSS feed: + - Public metadata, public bitstream ✓ + - Public metadata, restricted bitstream ✓ + - Restricted metadata, restricted bitstream ✗ + - Private item ✗ diff --git a/public/2017-08/index.html b/public/2017-08/index.html index b7db1f1a9..bff835c7e 100644 --- a/public/2017-08/index.html +++ b/public/2017-08/index.html @@ -37,7 +37,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s - + @@ -85,9 +85,9 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s "@type": "BlogPosting", "headline": "August, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-08/", - "wordCount": "2619", + "wordCount": "2826", "datePublished": "2017-08-01T11:51:52+03:00", - "dateModified": "2017-08-16T12:50:03+03:00", + "dateModified": "2017-08-16T18:24:41+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -433,6 +433,57 @@ UPDATE 4899
  • Adjust Ansible postgres role to use max_connections from a template variable and deploy a new limit of 123 on CGSpace
  • +

    2017-08-17

    + + + +
    2017-08-17 07:55:31,396 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/12/handle/10568/65885?pipelinehash=823411183535858997_T-Navigation-3368194896954203241. Error was invalid stream header: 00000000
    +java.io.StreamCorruptedException: invalid stream header: 00000000
    +
    + + + +
    # grep -c "ERROR net.sf.ehcache.store.DiskStore" dspace.log.2017-08-*
    +dspace.log.2017-08-01:0
    +dspace.log.2017-08-02:0
    +dspace.log.2017-08-03:0
    +dspace.log.2017-08-04:0
    +dspace.log.2017-08-05:0
    +dspace.log.2017-08-06:0
    +dspace.log.2017-08-07:0
    +dspace.log.2017-08-08:0
    +dspace.log.2017-08-09:0
    +dspace.log.2017-08-10:0
    +dspace.log.2017-08-11:8806
    +dspace.log.2017-08-12:5496
    +dspace.log.2017-08-13:2925
    +dspace.log.2017-08-14:2135
    +dspace.log.2017-08-15:1506
    +dspace.log.2017-08-16:1935
    +dspace.log.2017-08-17:584
    +
    + + + diff --git a/public/sitemap.xml b/public/sitemap.xml index 097104f4e..3a57561c5 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-08/ - 2017-08-16T12:50:03+03:00 + 2017-08-16T18:24:41+03:00 @@ -114,7 +114,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-08-16T12:50:03+03:00 + 2017-08-16T18:24:41+03:00 0 @@ -125,19 +125,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-08-16T12:50:03+03:00 + 2017-08-16T18:24:41+03:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-08-16T12:50:03+03:00 + 2017-08-16T18:24:41+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-08-16T12:50:03+03:00 + 2017-08-16T18:24:41+03:00 0