From b97867a3db2c18f73b1abf268a2eeeb756a81f4d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 8 Apr 2019 20:03:58 +0300 Subject: [PATCH] Update notes for 2019-04-08 --- content/posts/2019-04.md | 7 +++++++ docs/2019-04/index.html | 14 +++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-04.md b/content/posts/2019-04.md index a616ff061..198d5d798 100644 --- a/content/posts/2019-04.md +++ b/content/posts/2019-04.md @@ -468,6 +468,13 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds 250 dspaceWeb ``` +- On a related note I see connection pool errors in the DSpace log: + +``` +2019-04-08 19:01:10,472 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error - +org.apache.tomcat.jdbc.pool.PoolExhaustedException: [http-bio-127.0.0.1-8443-exec-319] Timeout: Pool empty. Unable to fetch a connection in 5 seconds, none available[size:250; busy:250; idle:0; lastwait:5000]. +``` + - But still I see 10 to 30% CPU steal so I think it's probably a big factor - Linode Support still didn't respond to my ticket from yesterday, so I attached a new output of `iostat 1 10` and asked them to move the VM to a less busy host - The web server logs are not very busy: diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 81fdb6b48..ca89069cc 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - + @@ -81,9 +81,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace "@type": "BlogPosting", "headline": "April, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-04/", - "wordCount": "2827", + "wordCount": "2867", "datePublished": "2019-04-01T09:00:43+03:00", - "dateModified": "2019-04-08T19:55:20+03:00", + "dateModified": "2019-04-08T20:00:45+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -707,6 +707,14 @@ $ ./fix-metadata-values.py -i /tmp/2019-04-08-fix-20-subject-apostrophes.csv -db 250 dspaceWeb + + +
2019-04-08 19:01:10,472 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error - 
+org.apache.tomcat.jdbc.pool.PoolExhaustedException: [http-bio-127.0.0.1-8443-exec-319] Timeout: Pool empty. Unable to fetch a connection in 5 seconds, none available[size:250; busy:250; idle:0; lastwait:5000].
+
+