diff --git a/content/posts/2019-01.md b/content/posts/2019-01.md index 4f8ad7789..c6ccbbd6d 100644 --- a/content/posts/2019-01.md +++ b/content/posts/2019-01.md @@ -342,4 +342,20 @@ $ time http --print h 'https://digitalarchive.worldfishcenter.org/rest/items?exp 0.18s user 0.02s system 6% cpu 3.047 total ``` +- In other news, Linode sent a mail last night that the CPU load on CGSpace (linode18) was high, here are the top IPs in the logs around those few hours: + +``` +# zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "14/Jan/2019:(17|18|19|20)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10 + 157 31.6.77.23 + 192 54.70.40.11 + 202 66.249.64.157 + 207 40.77.167.204 + 220 157.55.39.140 + 326 197.156.105.116 + 385 207.46.13.158 + 1211 35.237.175.180 + 1830 66.249.64.155 + 2482 45.5.186.2 +``` + diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index f77f5406a..9df14576c 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -27,7 +27,7 @@ I don’t see anything interesting in the web server logs around that time t " /> - + @@ -60,9 +60,9 @@ I don’t see anything interesting in the web server logs around that time t "@type": "BlogPosting", "headline": "January, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-01/", - "wordCount": "1506", + "wordCount": "1581", "datePublished": "2019-01-02T09:48:30+02:00", - "dateModified": "2019-01-14T23:11:07+02:00", + "dateModified": "2019-01-15T16:35:16+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -512,6 +512,23 @@ In [14]: for row in result.fetchone(): 0.18s user 0.02s system 6% cpu 3.047 total + + +
# zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "14/Jan/2019:(17|18|19|20)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
+    157 31.6.77.23
+    192 54.70.40.11
+    202 66.249.64.157
+    207 40.77.167.204
+    220 157.55.39.140
+    326 197.156.105.116
+    385 207.46.13.158
+   1211 35.237.175.180
+   1830 66.249.64.155
+   2482 45.5.186.2
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index da560c36f..db6821ec9 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-01/ - 2019-01-14T23:11:07+02:00 + 2019-01-15T16:35:16+02:00 @@ -204,7 +204,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-01-14T23:11:07+02:00 + 2019-01-15T16:35:16+02:00 0 @@ -215,7 +215,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-01-14T23:11:07+02:00 + 2019-01-15T16:35:16+02:00 0 @@ -227,13 +227,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-01-14T23:11:07+02:00 + 2019-01-15T16:35:16+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-01-14T23:11:07+02:00 + 2019-01-15T16:35:16+02:00 0