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 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
    +
    + + diff --git a/docs/robots.txt b/docs/robots.txt index 2b88ae317..9c8f41429 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -45,7 +45,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/tags/notes/ +Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/posts/ Disallow: /cgspace-notes/tags/ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index ba2ada140..79f5224f1 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-03/ - 2019-03-25T23:47:00+02:00 + 2019-03-26T08:55:54+02:00 @@ -214,7 +214,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-03-25T23:47:00+02:00 + 2019-03-26T08:55:54+02:00 0 @@ -223,27 +223,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2019-03-26T08:55:54+02:00 + 0 + + https://alanorth.github.io/cgspace-notes/categories/notes/ 2018-03-09T22:10:33+02:00 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-03-25T23:47:00+02:00 - 0 - - https://alanorth.github.io/cgspace-notes/posts/ - 2019-03-25T23:47:00+02:00 + 2019-03-26T08:55:54+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-03-25T23:47:00+02:00 + 2019-03-26T08:55:54+02:00 0