diff --git a/content/posts/2019-03.md b/content/posts/2019-03.md index 5b99c198c..867c918b4 100644 --- a/content/posts/2019-03.md +++ b/content/posts/2019-03.md @@ -854,5 +854,15 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds - `216.244.66.198` is DotBot - `93.179.69.74` is some IP in Ukraine, which I will add to the list of bot IPs in nginx - I can only hope that this helps the load go down because all this traffic is disrupting the service for normal users and well-behaved bots (and interrupting my dinner and breakfast) +- Looking at the database usage I'm wondering why there are so many connections from the DSpace CLI: + +``` +$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c + 5 dspaceApi + 10 dspaceCli + 13 dspaceWeb +``` + +- Looking closer I see they are all idle... so at least I know the load isn't coming from some background nightly task or something diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 9ffa09c34..6da6130ca 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "@type": "BlogPosting", "headline": "March, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-03/", - "wordCount": "5371", + "wordCount": "5435", "datePublished": "2019-03-01T12:16:30+01:00", - "dateModified": "2019-03-25T23:47:00+02:00", + "dateModified": "2019-03-26T08:55:54+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1133,6 +1133,17 @@ $ grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2019-03-22 | sort -u | wc -l
216.244.66.198
is DotBot93.179.69.74
is some IP in Ukraine, which I will add to the list of bot IPs in nginx$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
+ 5 dspaceApi
+ 10 dspaceCli
+ 13 dspaceWeb
+
+
+