diff --git a/content/posts/2021-09.md b/content/posts/2021-09.md index 25e21f6d2..44a614c69 100644 --- a/content/posts/2021-09.md +++ b/content/posts/2021-09.md @@ -100,5 +100,60 @@ $ ./ilri/add-orcid-identifiers-csv.py -i 2021-09-15-add-orcids.csv -db dspace -u - Found a bug with the DSpace 6.3 REST API, it returns HTTP 500 for `dc.title` even though it exists in the registry: https://demo.dspace.org/rest/registries/schema/dc/metadata-fields/title - Seems to be with any field that does not have a qualifier - I filed an issue: https://github.com/DSpace/DSpace/issues/7946 +- I decided to update all the metadata field descriptions in our registry so I can use that instead of the "hint" for each field in the input form + - I will include examples as well so that it becomes a better resource + +## 2021-09-17 + +- I filed [an issue about using SPDX License Identifiers in CG Core v2](https://github.com/AgriculturalSemantics/cg-core/issues/41) +- Peter Ballantyne emailed me to say that CGSpace was very slow + - The front page was returning a blank white page + - I looked at the database and the connections look low: + +```console +$ psql -c 'SELECT * FROM pg_stat_activity' | wc -l +63 +``` + +- Load on the server is under 1.0, and there are only about 1,000 XMLUI sessions, which seems to be normal for this time of day according to Munin +- But the DSpace log file shows tons of database issues: + +```console +$ grep -c "Timeout waiting for idle object" dspace.log.2021-09-17 +14779 +``` + +- The earliest one I see is around midnight (now is 2PM): + +```console +2021-09-17 00:01:49,572 WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ SQL Error: 0, SQLState: null +2021-09-17 00:01:49,572 ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ Cannot get a connection, pool error Timeout waiting for idle object +``` + +- But I was definitely logged into the site this morning so there were no issues then... +- It seems that a few errors are normal, but there's obviously something wrong today: + +```console +$ grep -c "Timeout waiting for idle object" dspace.log.2021-09-* +dspace.log.2021-09-01:116 +dspace.log.2021-09-02:163 +dspace.log.2021-09-03:77 +dspace.log.2021-09-04:13 +dspace.log.2021-09-05:310 +dspace.log.2021-09-06:0 +dspace.log.2021-09-07:29 +dspace.log.2021-09-08:86 +dspace.log.2021-09-09:24 +dspace.log.2021-09-10:26 +dspace.log.2021-09-11:12 +dspace.log.2021-09-12:5 +dspace.log.2021-09-13:10 +dspace.log.2021-09-14:102 +dspace.log.2021-09-15:542 +dspace.log.2021-09-16:368 +dspace.log.2021-09-17:15235 +``` + +- I restarted the server and DSpace came up fine... so it must have been some kind of fluke diff --git a/docs/2021-09/index.html b/docs/2021-09/index.html index eaa9f310c..e81dbf8f0 100644 --- a/docs/2021-09/index.html +++ b/docs/2021-09/index.html @@ -26,7 +26,7 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu - + @@ -58,9 +58,9 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu "@type": "BlogPosting", "headline": "September, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-09/", - "wordCount": "842", + "wordCount": "1097", "datePublished": "2021-09-01T09:14:07+03:00", - "dateModified": "2021-09-16T06:49:05+03:00", + "dateModified": "2021-09-16T16:35:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -257,6 +257,59 @@ $ ./ilri/add-orcid-identifiers-csv.py -i 2021-09-15-add-orcids.csv -db dspace -u
  • I filed an issue: https://github.com/DSpace/DSpace/issues/7946
  • +
  • I decided to update all the metadata field descriptions in our registry so I can use that instead of the “hint” for each field in the input form + +
  • + +

    2021-09-17

    + +
    $ psql -c 'SELECT * FROM pg_stat_activity' | wc -l
    +63
    +
    +
    $ grep -c "Timeout waiting for idle object" dspace.log.2021-09-17 
    +14779
    +
    +
    2021-09-17 00:01:49,572 WARN  org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ SQL Error: 0, SQLState: null
    +2021-09-17 00:01:49,572 ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ Cannot get a connection, pool error Timeout waiting for idle object
    +
    +
    $ grep -c "Timeout waiting for idle object" dspace.log.2021-09-*
    +dspace.log.2021-09-01:116
    +dspace.log.2021-09-02:163
    +dspace.log.2021-09-03:77
    +dspace.log.2021-09-04:13
    +dspace.log.2021-09-05:310
    +dspace.log.2021-09-06:0
    +dspace.log.2021-09-07:29
    +dspace.log.2021-09-08:86
    +dspace.log.2021-09-09:24
    +dspace.log.2021-09-10:26
    +dspace.log.2021-09-11:12
    +dspace.log.2021-09-12:5
    +dspace.log.2021-09-13:10
    +dspace.log.2021-09-14:102
    +dspace.log.2021-09-15:542
    +dspace.log.2021-09-16:368
    +dspace.log.2021-09-17:15235
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index eb20a118c..5f44dbdc3 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index fe1d1d5a1..459b52dd9 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 7536b053e..228114ae1 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 7b3cd993f..6bc2aa7fe 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 53b3c3f41..59a6f5ed9 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 8d23ca430..9b1510cf7 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 61c229148..b493621bf 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index fde3e318b..4e25090fa 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 0484bbf9b..863d0f26d 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 65f8e5118..986daa78b 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index bca726fd1..4582f2ee7 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 93bf6f2c8..52e3bb01a 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 0e452bf2b..fd0e37d2c 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index d166462bf..c1c38e980 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 656b8085f..933bbd3b8 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index d02bf8161..843f30404 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 0699de175..1bae67926 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 8f13f8726..73e1e4b61 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 77455cb99..d95c183f0 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 62bc16c3d..7af9a9d31 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 40a570c00..6a465b70a 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index c51da9b7f..f31f5a7d3 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index 4e98f157d..1560f1b7c 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index e600f5d67..6e8278547 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2021-09-16T06:49:05+03:00 + 2021-09-16T16:35:00+03:00 https://alanorth.github.io/cgspace-notes/ - 2021-09-16T06:49:05+03:00 + 2021-09-16T16:35:00+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-09-16T06:49:05+03:00 + 2021-09-16T16:35:00+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-09-16T06:49:05+03:00 + 2021-09-16T16:35:00+03:00 https://alanorth.github.io/cgspace-notes/2021-09/ - 2021-09-16T06:49:05+03:00 + 2021-09-16T16:35:00+03:00 https://alanorth.github.io/cgspace-notes/2021-08/ 2021-09-02T17:06:28+03:00