diff --git a/content/posts/2020-05.md b/content/posts/2020-05.md index 3e023083a..a8fc2b4b5 100644 --- a/content/posts/2020-05.md +++ b/content/posts/2020-05.md @@ -58,4 +58,27 @@ Total number of bot hits purged: 192332 - And then I will add 188.134.31.88 to the nginx bad bot list and tell CodeObia to please use a "bot" user agent - I also changed the nginx config to block requests with blank user agents +## 2020-05-11 + +- Bizu said she was having issues submitting to CGSpace last week + - The issue sounds like the one Tezira and CTA were having in the last few weeks + - I looked at the PostgreSQL graphs and see there are a lot of connections in "idle in transaction" and "waiting for lock" state: + +![PostgreSQL connections](/cgspace-notes/2020/05/postgres_connections_cgspace-week.png) + +- I think I'll downgrade the PostgreSQL JDBC driver from 42.2.12 to 42.2.10, which was the version we were using before these issues started happening +- Atmire sent some feedback about my ongoing issues with their CUA module, but none of it was conclusive yet + - Regarding Font Awesome 5 they will check how much work it will take and give me a quote +- Abenet said some users are questioning why the statistics dropped so much lately, so I made a [post to Yammer](https://www.yammer.com/dspacedevelopers/#/Threads/show?threadId=674923030216704) to explain about the robots +- Last week Peter had asked me to add a new ILRI author's ORCID iD + - I added it to the controlled vocabulary and tagged the user's existing ~11 items in CGSpace using this CSV file with my `add-orcid-identifiers-csv.py` script: + +``` +$ cat 2020-05-11-add-orcids.csv +dc.contributor.author,cg.creator.id +"Lutakome, P.","Pius Lutakome: 0000-0002-0804-2649" +"Lutakome, Pius","Pius Lutakome: 0000-0002-0804-2649" +$ ./add-orcid-identifiers-csv.py -i 2020-05-11-add-orcids.csv -db dspace -u dspace -p 'fuuu' -d +``` + diff --git a/docs/2020-05/index.html b/docs/2020-05/index.html index cafee9279..b3d388b59 100644 --- a/docs/2020-05/index.html +++ b/docs/2020-05/index.html @@ -18,7 +18,7 @@ I see that CGSpace (linode18) is still using PostgreSQL JDBC driver version 42.2 - + @@ -41,9 +41,9 @@ I see that CGSpace (linode18) is still using PostgreSQL JDBC driver version 42.2 "@type": "BlogPosting", "headline": "May, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-05/", - "wordCount": "432", + "wordCount": "630", "datePublished": "2020-05-02T09:52:04+03:00", - "dateModified": "2020-05-06T16:03:29+03:00", + "dateModified": "2020-05-07T11:45:25+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -182,7 +182,36 @@ Total number of bot hits purged: 192332
  • And then I will add 188.134.31.88 to the nginx bad bot list and tell CodeObia to please use a “bot” user agent
  • I also changed the nginx config to block requests with blank user agents
  • - +

    2020-05-11

    + +

    PostgreSQL connections

    + +
    $ cat 2020-05-11-add-orcids.csv
    +dc.contributor.author,cg.creator.id
    +"Lutakome, P.","Pius Lutakome: 0000-0002-0804-2649"
    +"Lutakome, Pius","Pius Lutakome: 0000-0002-0804-2649"
    +$ ./add-orcid-identifiers-csv.py -i 2020-05-11-add-orcids.csv -db dspace -u dspace -p 'fuuu' -d
    +
    diff --git a/docs/2020/05/postgres_connections_cgspace-week.png b/docs/2020/05/postgres_connections_cgspace-week.png new file mode 100644 index 000000000..8f847ed11 Binary files /dev/null and b/docs/2020/05/postgres_connections_cgspace-week.png differ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 0c9f44a25..bc4575b4f 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-05-06T16:03:29+03:00 + 2020-05-07T11:45:25+03:00 https://alanorth.github.io/cgspace-notes/ - 2020-05-06T16:03:29+03:00 + 2020-05-07T11:45:25+03:00 https://alanorth.github.io/cgspace-notes/2020-05/ - 2020-05-06T16:03:29+03:00 + 2020-05-07T11:45:25+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-05-06T16:03:29+03:00 + 2020-05-07T11:45:25+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-05-06T16:03:29+03:00 + 2020-05-07T11:45:25+03:00 diff --git a/static/2020/05/postgres_connections_cgspace-week.png b/static/2020/05/postgres_connections_cgspace-week.png new file mode 100644 index 000000000..8f847ed11 Binary files /dev/null and b/static/2020/05/postgres_connections_cgspace-week.png differ