diff --git a/content/post/2017-12.md b/content/post/2017-12.md index 870242ee1..2ae9a444e 100644 --- a/content/post/2017-12.md +++ b/content/post/2017-12.md @@ -620,3 +620,6 @@ javax.naming.NoInitialContextException: Need to specify class name in environmen - If I add the db values back to dspace.cfg the `dspace database info` command succeeds but the log still shows errors retrieving the JNDI connection - Perhaps something to report to the dspace-tech mailing list when I finally send my comments +- Oh cool! `select * from pg_stat_activity` shows "PostgreSQL JDBC Driver" for the application name! That's how you know it's working! +- If you monitor the `pg_stat_activity` while you run `dspace database info` you can see that it doesn't use the JNDI and creates ~9 extra PostgreSQL connections! +- And in the middle of all of this Linode sends an alert that CGSpace has high CPU usage from 2 to 4 PM diff --git a/public/2017-12/index.html b/public/2017-12/index.html index 2108d4027..4099ec4d4 100644 --- a/public/2017-12/index.html +++ b/public/2017-12/index.html @@ -23,7 +23,7 @@ The list of connections to XMLUI and REST API for today: - + @@ -56,9 +56,9 @@ The list of connections to XMLUI and REST API for today: "@type": "BlogPosting", "headline": "December, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-12/", - "wordCount": "3342", + "wordCount": "3411", "datePublished": "2017-12-01T13:53:54+03:00", - "dateModified": "2017-12-19T14:10:16+02:00", + "dateModified": "2017-12-19T18:33:19+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -806,6 +806,9 @@ javax.naming.NoInitialContextException: Need to specify class name in environmen
dspace database info
command succeeds but the log still shows errors retrieving the JNDI connectionselect * from pg_stat_activity
shows “PostgreSQL JDBC Driver” for the application name! That’s how you know it’s working!pg_stat_activity
while you run dspace database info
you can see that it doesn’t use the JNDI and creates ~9 extra PostgreSQL connections!