diff --git a/content/post/2017-10.md b/content/post/2017-10.md index 975cf3ab4..0721997f5 100644 --- a/content/post/2017-10.md +++ b/content/post/2017-10.md @@ -159,3 +159,30 @@ http://library.cgiar.org/browse?value=Intellectual%20Assets%20Reports&type=subje - Re-deploy CGSpace from latest `5_x-prod` (adds ISI Journal to search filters and adds Discovery index for CGIAR Library `systemsubject`) - Deploy nginx redirect fixes to catch CGIAR Library browse links (redirect to their community and translate subject→systemsubject) - Run migration of CGSpace server (linode18) for Linode security alert, which took 42 minutes of downtime + +## 2017-10-26 + +- In the last 24 hours we've gotten a few alerts from Linode that there was high CPU and outgoing traffic on CGSpace +- Uptime Robot even noticed CGSpace go "down" for a few minutes +- In other news, I was trying to look at a question about stats raised by Magdalena and then CGSpace went down due to SQL connection pool +- Looking at the PostgreSQL activity I see there are 93 connections, but after a minute or two they went down and CGSpace came back up +- Annnd I reloaded the Atmire Usage Stats module and the connections shot back up and CGSpace went down again +- Still not sure where the load is coming from right now, but it's clear why there were so many alerts yesterday on the 25th! + +``` +# grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-25 | sort -n | uniq | wc -l +18022 +``` + +- Compared to other days there were two or three times the number of requests yesterday! + +``` +# grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-23 | sort -n | uniq | wc -l +3141 +# grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-26 | sort -n | uniq | wc -l +7851 +``` + +- I still have no idea what was causing the load to go up today +- I finally investigated Magdalena's issue with the item download stats and now I can't reproduce it: I get the same number of downloads reported in the stats widget on the item page, the "Most Popular Items" page, and in Usage Stats +- I think it might have been an issue with the statistics not being fresh diff --git a/public/2017-10/index.html b/public/2017-10/index.html index 777b33331..7c1d660a6 100644 --- a/public/2017-10/index.html +++ b/public/2017-10/index.html @@ -28,7 +28,7 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI - + @@ -66,9 +66,9 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI "@type": "BlogPosting", "headline": "October, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-10/", - "wordCount": "1194", + "wordCount": "1451", "datePublished": "2017-10-01T08:07:54+03:00", - "dateModified": "2017-10-22T23:51:48+03:00", + "dateModified": "2017-10-23T09:58:33+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -318,6 +318,37 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI
  • Run migration of CGSpace server (linode18) for Linode security alert, which took 42 minutes of downtime
  • +

    2017-10-26

    + + + +
    # grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-25 | sort -n | uniq | wc -l
    +18022
    +
    + + + +
    # grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-23 | sort -n | uniq | wc -l
    +3141
    +# grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2017-10-26 | sort -n | uniq | wc -l
    +7851
    +
    + + + diff --git a/public/robots.txt b/public/robots.txt index 33d937c67..b730f0cd9 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -28,7 +28,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/tags/notes/ Disallow: /cgspace-notes/categories/notes/ +Disallow: /cgspace-notes/tags/notes/ Disallow: /cgspace-notes/post/ Disallow: /cgspace-notes/tags/ diff --git a/public/sitemap.xml b/public/sitemap.xml index 91ed56451..76fe701bf 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-10/ - 2017-10-22T23:51:48+03:00 + 2017-10-23T09:58:33+03:00 @@ -129,7 +129,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-10-22T23:51:48+03:00 + 2017-10-23T09:58:33+03:00 0 @@ -138,27 +138,27 @@ 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-10-22T23:51:48+03:00 - 0 - - https://alanorth.github.io/cgspace-notes/categories/notes/ 2017-09-28T12:00:49+03:00 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2017-10-23T09:58:33+03:00 + 0 + + https://alanorth.github.io/cgspace-notes/post/ - 2017-10-22T23:51:48+03:00 + 2017-10-23T09:58:33+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-10-22T23:51:48+03:00 + 2017-10-23T09:58:33+03:00 0