mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2017-06-30
This commit is contained in:
@ -123,3 +123,19 @@ dspace=# select text_value from metadatavalue where resource_type_id=2 and metad
|
||||
|
||||
- Marianne from WLE asked if they can have both Phase I and II research themes together in the item submission form
|
||||
- Perhaps we can add them together in the same question for `cg.identifier.wletheme`
|
||||
|
||||
## 2017-06-30
|
||||
|
||||
- CGSpace went down briefly, I see lots of these errors in the dspace logs:
|
||||
|
||||
```
|
||||
Java stacktrace: java.util.NoSuchElementException: Timeout waiting for idle object
|
||||
```
|
||||
|
||||
- After looking at the Tomcat logs, Munin graphs, and PostgreSQL connection stats, it seems there is just a high load
|
||||
- Might be a good time to adjust DSpace's database connection settings, like I first mentioned in April, 2017 after reading the [2017-04 DCAT comments](https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017)
|
||||
- I've adjusted the following in CGSpace's config:
|
||||
- `db.maxconnections` 30→70 (the default PostgreSQL config allows 100 connections, so DSpace's default of 30 is quite low)
|
||||
- `db.maxwait` 5000→10000
|
||||
- `db.maxidle` 8→20 (DSpace default is -1, unlimited, but we had set it to 8 earlier)
|
||||
- We will need to adjust this again (as well as the `pg_hba.conf` settings) when we deploy tsega's REST API
|
||||
|
Reference in New Issue
Block a user