diff --git a/content/posts/2022-02.md b/content/posts/2022-02.md index 7f44d3365..3535271ce 100644 --- a/content/posts/2022-02.md +++ b/content/posts/2022-02.md @@ -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 + diff --git a/docs/2022-02/index.html b/docs/2022-02/index.html index 89286e248..ddfaf7a9a 100644 --- a/docs/2022-02/index.html +++ b/docs/2022-02/index.html @@ -21,7 +21,7 @@ We agreed to try to do more alignment of affiliations/funders with ROR - + @@ -48,9 +48,9 @@ We agreed to try to do more alignment of affiliations/funders with ROR "@type": "BlogPosting", "headline": "February, 2022", "url": "https://alanorth.github.io/cgspace-notes/2022-02/", - "wordCount": "1838", + "wordCount": "2039", "datePublished": "2022-02-01T14:06:54+02:00", - "dateModified": "2022-02-10T20:35:40+03:00", + "dateModified": "2022-02-11T09:41:05+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -462,6 +462,38 @@ Purging 217 hits from 1science in statistics
  • 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

    + +

    2022-02-12

    + +
    $ 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;'
    +
    +
    $ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b
    +
    +real    292m49.263s
    +user    201m26.097s
    +sys     3m2.459s
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index b0ac05d80..bee9a145e 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 436d09a82..2bc168edc 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 48be605ea..05673f661 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 92dc19b9d..a6f6c03fc 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index d97dde845..534c06124 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index e7d300815..9cc3473a8 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index f1635e163..1dab3147a 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index d4eb1a553..96c0cf168 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index ccf4693ff..c0edba763 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index ed477d661..0500171c7 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 83fe316a9..9a304de47 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 8c1b263d5..cd8f76f71 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index acbcf5131..45ef08abd 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 179a837c8..8db482455 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 1483f7863..9a2d63da6 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 990fda253..12ec7fecf 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index dafb2b9ed..08bd8a442 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 68b336183..e602863e1 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index cc056aa20..9350a3cc9 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 2dab0c24f..04b3e7651 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 6c5b711dd..6fb2883f7 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 9d70f2063..2dd219247 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index a2b01f2e0..bfdf56a99 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 3cea24329..a1f4e3f86 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2022-02-10T20:35:40+03:00 + 2022-02-11T09:41:05+03:00 https://alanorth.github.io/cgspace-notes/ - 2022-02-10T20:35:40+03:00 + 2022-02-11T09:41:05+03:00 https://alanorth.github.io/cgspace-notes/2022-02/ - 2022-02-10T20:35:40+03:00 + 2022-02-11T09:41:05+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2022-02-10T20:35:40+03:00 + 2022-02-11T09:41:05+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2022-02-10T20:35:40+03:00 + 2022-02-11T09:41:05+03:00 https://alanorth.github.io/cgspace-notes/2022-01/ 2022-02-07T09:49:34+03:00