diff --git a/content/posts/2019-02.md b/content/posts/2019-02.md index 56bfe6376..2c3b21d1d 100644 --- a/content/posts/2019-02.md +++ b/content/posts/2019-02.md @@ -141,5 +141,23 @@ COPY 321 - Skype with Michael Victor about CKM and CGSpace - Discuss the new IITA research theme field with Abenet and decide that we should use `cg.identifier.iitatheme` +- This morning there was another alert from Linode about the high load on CGSpace (linode18), here are the top IPs in the web server logs before, during, and after that time: + +``` +# zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "04/Feb/2019:0(5|6|7|8|9)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10 + 589 2a01:4f8:140:3192::2 + 762 66.249.66.219 + 889 35.237.175.180 + 1332 34.218.226.147 + 1393 5.9.6.51 + 1940 50.116.102.77 + 3578 85.25.237.71 + 4311 45.5.184.2 + 4658 205.186.128.185 + 4658 70.32.83.92 +``` + +- At this rate I think I just need to stop paying attention to these alerts—DSpace gets thrashed when people use the APIs properly and there's nothing we can do to improve REST API performance! +- Perhaps I just need to keep increasing the Linode alert threshold (currently 300%) for this host? diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index ea1ce66c2..511f1bdc1 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -42,7 +42,7 @@ sys 0m1.979s - + @@ -89,9 +89,9 @@ sys 0m1.979s "@type": "BlogPosting", "headline": "February, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-02/", - "wordCount": "720", + "wordCount": "846", "datePublished": "2019-02-01T21:37:30+02:00", - "dateModified": "2019-02-04T11:22:07+02:00", + "dateModified": "2019-02-04T20:09:20+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -317,6 +317,25 @@ COPY 321 + +
# zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "04/Feb/2019:0(5|6|7|8|9)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
+    589 2a01:4f8:140:3192::2
+    762 66.249.66.219
+    889 35.237.175.180
+   1332 34.218.226.147
+   1393 5.9.6.51
+   1940 50.116.102.77
+   3578 85.25.237.71
+   4311 45.5.184.2
+   4658 205.186.128.185
+   4658 70.32.83.92
+
+ + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index a804edcc8..e222fce9f 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-02/ - 2019-02-04T11:22:07+02:00 + 2019-02-04T20:09:20+02:00 @@ -209,7 +209,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-02-04T11:22:07+02:00 + 2019-02-04T20:09:20+02:00 0 @@ -220,7 +220,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-02-04T11:22:07+02:00 + 2019-02-04T20:09:20+02:00 0 @@ -232,13 +232,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-02-04T11:22:07+02:00 + 2019-02-04T20:09:20+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-02-04T11:22:07+02:00 + 2019-02-04T20:09:20+02:00 0