Add notes for 2021-09-17

This commit is contained in:
2021-09-17 15:03:28 +03:00
parent e067978bc0
commit 61e8011d7f
26 changed files with 139 additions and 31 deletions

View File

@ -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
<!-- vim: set sw=2 ts=2: -->