mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2021-09-17
This commit is contained in:
@ -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: -->
|
||||
|
Reference in New Issue
Block a user