Update notes for 2018-11-08

This commit is contained in:
2018-11-08 09:02:20 +02:00
parent fecac58ec8
commit 51aa83e6c3
67 changed files with 196 additions and 970 deletions

View File

@ -18,12 +18,10 @@ Send a note about my dspace-statistics-api to the dspace-tech mailing list
Linode has been sending mails a few times a day recently that CGSpace (linode18) has had high CPU usage
Today these are the top 10 IPs:
" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-11/" /><meta property="article:published_time" content="2018-11-01T16:41:30&#43;02:00"/>
<meta property="article:modified_time" content="2018-11-06T18:03:44&#43;02:00"/>
<meta property="article:modified_time" content="2018-11-07T19:20:25&#43;02:00"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="November, 2018"/>
@ -39,10 +37,8 @@ Send a note about my dspace-statistics-api to the dspace-tech mailing list
Linode has been sending mails a few times a day recently that CGSpace (linode18) has had high CPU usage
Today these are the top 10 IPs:
"/>
<meta name="generator" content="Hugo 0.50" />
<meta name="generator" content="Hugo 0.51" />
@ -52,9 +48,9 @@ Today these are the top 10 IPs:
"@type": "BlogPosting",
"headline": "November, 2018",
"url": "https://alanorth.github.io/cgspace-notes/2018-11/",
"wordCount": "1244",
"wordCount": "1310",
"datePublished": "2018-11-01T16:41:30&#43;02:00",
"dateModified": "2018-11-06T18:03:44&#43;02:00",
"dateModified": "2018-11-07T19:20:25&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -134,8 +130,6 @@ Today these are the top 10 IPs:
<li>Today these are the top 10 IPs:</li>
</ul>
<p></p>
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E &quot;03/Nov/2018&quot; | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
1300 66.249.64.63
1384 35.237.175.180
@ -420,6 +414,14 @@ Today these are the top 10 IPs:
<li>Tag version 0.7.0 of the dspace-statistics-api</li>
</ul>
<h2 id="2018-11-08">2018-11-08</h2>
<ul>
<li>I deployed verison 0.7.0 of the dspace-statistics-api on DSpace Test (linode19) so I can test it for a few days (and check the Munin stats to see the change in database connections) before deploying on CGSpace</li>
<li>I also enabled systemd&rsquo;s persistent journal by setting <a href="https://www.freedesktop.org/software/systemd/man/journald.conf.html"><code>Storage=persistent</code> in <em>journald.conf</em></a></li>
<li>Apparently <a href="https://www.freedesktop.org/software/systemd/man/journald.conf.html">Ubuntu 16.04 defaulted to using rsyslog for boot records until early 2018</a>, so I removed <code>rsyslog</code> too</li>
</ul>
<!-- vim: set sw=2 ts=2: -->