mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes
This commit is contained in:
@ -341,4 +341,37 @@ Total number of bot hits purged: 14696
|
||||
- Peter asked me to add a new item type on CGSpace: Opinion Piece
|
||||
- Map an item on CGSpace for Maria since she couldn't find it in the item mapper
|
||||
|
||||
## 2022-02-11
|
||||
|
||||
- CGSpace is slow and the load has been over 400% for a few hours
|
||||
- The number of DSpace sessions seems normal, even lower than a few days ago
|
||||
- The number of PostgreSQL connections is low, but I see there are lots of "AccessShare" locks (green on Munin, not blue like usual)
|
||||
- I will run all system updates, copy the latest config changes, and restart the server
|
||||
|
||||
## 2022-02-12
|
||||
|
||||
- Install PostgreSQL 12 on my local dev environment to starting DSpace 6.x workflows with it:
|
||||
|
||||
```console
|
||||
$ podman run --name dspacedb -v dspacedb_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:12-alpine
|
||||
$ createuser -h localhost -p 5432 -U postgres --pwprompt dspacetest
|
||||
$ createdb -h localhost -p 5432 -U postgres -O dspacetest --encoding=UNICODE dspacetest
|
||||
$ psql -h localhost -U postgres -c 'ALTER USER dspacetest SUPERUSER;'
|
||||
$ pg_restore -h localhost -U postgres -d dspacetest -O --role=dspacetest -h localhost ~/Downloads/dspace-2022-02-12.backup
|
||||
$ psql -h localhost -U postgres -c 'ALTER USER dspacetest NOSUPERUSER;'
|
||||
```
|
||||
|
||||
- Eventually I will updated DSpace Test, then CGSpace (time to start paying off some technical debt!)
|
||||
- Start a full Discovery re-index on CGSpace:
|
||||
|
||||
```console
|
||||
$ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b
|
||||
|
||||
real 292m49.263s
|
||||
user 201m26.097s
|
||||
sys 3m2.459s
|
||||
```
|
||||
|
||||
- Start a full harvest on AReS
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user