Update notes for 2017-07-05

This commit is contained in:
2017-07-05 17:27:41 +03:00
parent 3d1e9078b3
commit 997beb9141
3 changed files with 48 additions and 8 deletions

View File

@ -41,3 +41,21 @@ $ psql dspacenew -x -c 'select element, qualifier, scope_note from metadatafield
```
$ psql dspace -x -c 'select element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id=2 order by element, qualifier;' | sed -r 's:^-\[ RECORD (.*) \]-+$:</dc-type>\n<dc-type>\n<schema>cg</schema>:;s:([^ ]*) +\| (.*): <\1>\2</\1>:;s:^$:</dc-type>:;1s:</dc-type>\n::' > cg-types.xml
```
- CGSpace was unavailable briefly, and I saw this error in the DSpace log file:
```
2017-07-05 13:05:36,452 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error -
org.postgresql.util.PSQLException: FATAL: remaining connection slots are reserved for non-replication superuser connections
```
- Looking at the `pg_stat_activity` table I saw there were indeed 98 active connections to PostgreSQL, and at this time the limit is 100, so that makes sense
- Tsega restarted Tomcat and it's working now
- Abenet said she was generating a report with Atmire's CUA module, so it could be due to that?
- Looking in the logs I see this random error again that I should report to DSpace:
```
2017-07-05 13:50:07,196 ERROR org.dspace.statistics.SolrLogger @ COUNTRY ERROR: EU
```
- Seems to come from `dspace-api/src/main/java/org/dspace/statistics/SolrLogger.java`