diff --git a/content/post/2017-11.md b/content/post/2017-11.md index 7ba8ba4d8..6444b5a41 100644 --- a/content/post/2017-11.md +++ b/content/post/2017-11.md @@ -870,3 +870,26 @@ $ grep 70.32.83.92 dspace.log.2017-11-23 | grep -o -E 'session_id=[A-Z0-9]{32}' 379 66.249.66.70 1855 66.249.66.90 ``` + +## 2017-11-29 + +- Linode alerted that CGSpace was using 279% CPU from 6 to 8 AM this morning +- About an hour later Uptime Robot said that the server was down +- Here are all the top XMLUI and REST users from today: + +``` +# cat /var/log/nginx/rest.log /var/log/nginx/rest.log.1 /var/log/nginx/access.log /var/log/nginx/access.log.1 /var/log/nginx/library-access.log /var/log/nginx/library-access.log.1 | grep -E "29/Nov/2017" | awk '{print $1}' | sort -n | uniq -c | sort -h | tail + 540 66.249.66.83 + 659 40.77.167.36 + 663 157.55.39.214 + 681 157.55.39.206 + 733 157.55.39.158 + 850 66.249.66.70 + 1311 66.249.66.90 + 1340 104.196.152.243 + 4008 70.32.83.92 + 6053 45.5.184.196 +``` + +- PostgreSQL activity shows 69 connections +- I don't have time to troubleshoot more as I'm in Nairobi working on the HPC so I just restarted Tomcat for now diff --git a/public/2017-11/index.html b/public/2017-11/index.html index 1cd0eab86..bbf0e0e96 100644 --- a/public/2017-11/index.html +++ b/public/2017-11/index.html @@ -86,7 +86,7 @@ COPY 54701 "@type": "BlogPosting", "headline": "November, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-11/", - "wordCount": "5107", + "wordCount": "5220", "datePublished": "2017-11-02T09:37:54+02:00", "dateModified": "2017-11-26T21:26:13+03:00", "author": { @@ -1128,6 +1128,32 @@ $ grep -c com.atmire.utils.UpdateSolrStatsMetadata dspace.log.2017-11-19 1855 66.249.66.90 +

2017-11-29

+ + + +
# cat /var/log/nginx/rest.log  /var/log/nginx/rest.log.1  /var/log/nginx/access.log /var/log/nginx/access.log.1 /var/log/nginx/library-access.log /var/log/nginx/library-access.log.1 | grep -E "29/Nov/2017" | awk '{print $1}' | sort -n | uniq -c | sort -h | tail
+    540 66.249.66.83
+    659 40.77.167.36
+    663 157.55.39.214
+    681 157.55.39.206
+    733 157.55.39.158
+    850 66.249.66.70
+   1311 66.249.66.90
+   1340 104.196.152.243
+   4008 70.32.83.92
+   6053 45.5.184.196
+
+ + + diff --git a/public/robots.txt b/public/robots.txt index b90b33492..51a461e57 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -29,7 +29,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/post/ Disallow: /cgspace-notes/tags/ diff --git a/public/sitemap.xml b/public/sitemap.xml index b5df6c649..67509515e 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -144,14 +144,14 @@ - https://alanorth.github.io/cgspace-notes/categories/notes/ - 2017-09-28T12:00:49+03:00 + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2017-11-26T21:26:13+03:00 0 - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-11-26T21:26:13+03:00 + https://alanorth.github.io/cgspace-notes/categories/notes/ + 2017-09-28T12:00:49+03:00 0