diff --git a/content/posts/2019-04.md b/content/posts/2019-04.md index 9af7ddd45..9b07cba3e 100644 --- a/content/posts/2019-04.md +++ b/content/posts/2019-04.md @@ -457,4 +457,18 @@ $ ./fix-metadata-values.py -i /tmp/2019-04-08-fix-60-affiliations-apostrophes.cs $ ./fix-metadata-values.py -i /tmp/2019-04-08-fix-20-subject-apostrophes.csv -db dspace -u dspace -p 'fuuu' -f dc.subject -m 57 -t correct -d ``` +- UptimeRobot said that CGSpace (linode18) went down tonight + - The load average is at `9.42, 8.87, 7.87` + - I looked at PostgreSQL and see shitloads of connections there: + +``` +$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c + 5 dspaceApi + 7 dspaceCli + 250 dspaceWeb +``` + +- 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 + diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 4c02bd271..e4acbe5ae 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": "2631", + "wordCount": "2729", "datePublished": "2019-04-01T09:00:43+03:00", - "dateModified": "2019-04-08T11:26:20+03:00", + "dateModified": "2019-04-08T16:29:20+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -692,6 +692,26 @@ COPY 20 $ ./fix-metadata-values.py -i /tmp/2019-04-08-fix-20-subject-apostrophes.csv -db dspace -u dspace -p 'fuuu' -f dc.subject -m 57 -t correct -d + + +
$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
+      5 dspaceApi
+      7 dspaceCli
+    250 dspaceWeb
+
+ + + diff --git a/docs/robots.txt b/docs/robots.txt index fc9a8bbb4..9ea3f6b9d 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -46,7 +46,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 f261b355d..087b08443 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-04/ - 2019-04-08T11:26:20+03:00 + 2019-04-08T16:29:20+03:00 @@ -219,7 +219,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-04-08T11:26:20+03:00 + 2019-04-08T16:29:20+03:00 0 @@ -228,27 +228,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2019-04-08T16:29:20+03: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-04-08T11:26:20+03:00 - 0 - - https://alanorth.github.io/cgspace-notes/posts/ - 2019-04-08T11:26:20+03:00 + 2019-04-08T16:29:20+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-04-08T11:26:20+03:00 + 2019-04-08T16:29:20+03:00 0