Update notes for 2017-12-04

This commit is contained in:
Alan Orth 2017-12-04 18:14:45 +03:00
parent a559b6bc70
commit 1845e9966e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 22 additions and 12 deletions

View File

@ -85,9 +85,14 @@ $ grep 2.86.122.76 /home/cgspace.cgiar.org/log/dspace.log.2017-12-01 | grep -o -
## 2017-12-04
- Linode alerted that CGSpace's load was 255.5% from 8 to 10 AM again
- I looked at the Munin stats again to see how the PostgreSQL tweaks from a few weeks ago were holding up:
- I looked at the Munin stats on DSpace Test (linode02) again to see how the PostgreSQL tweaks from a few weeks ago were holding up:
![PostgreSQL connections month](/cgspace-notes/2017/12/postgres-connections-month.png)
![DSpace Test PostgreSQL connections month](/cgspace-notes/2017/12/postgres-connections-month.png)
- The results look fantastic! So the `random_page_cost` tweak is massively important for informing the PostgreSQL scheduler that there is no "cost" to accessing random pages, as we're on an SSD!
- I guess we could probably even reduce the PostgreSQL connections in DSpace / PostgreSQL after using this
- Run system updates on DSpace Test (linode02) and reboot it
- I'm going to enable the PostgreSQL `random_page_cost` tweak on CGSpace
- For reference, here is the past month's connections:
![CGSpace PostgreSQL connections month](/cgspace-notes/2017/12/postgres-connections-month-cgspace.png)

View File

@ -23,7 +23,7 @@ The list of connections to XMLUI and REST API for today:
<meta property="article:published_time" content="2017-12-01T13:53:54&#43;03:00"/>
<meta property="article:modified_time" content="2017-12-04T15:37:58&#43;03:00"/>
<meta property="article:modified_time" content="2017-12-04T15:39:52&#43;03:00"/>
@ -56,9 +56,9 @@ The list of connections to XMLUI and REST API for today:
"@type": "BlogPosting",
"headline": "December, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-12/",
"wordCount": "418",
"wordCount": "450",
"datePublished": "2017-12-01T13:53:54&#43;03:00",
"dateModified": "2017-12-04T15:37:58&#43;03:00",
"dateModified": "2017-12-04T15:39:52&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -210,16 +210,21 @@ The list of connections to XMLUI and REST API for today:
<ul>
<li>Linode alerted that CGSpace&rsquo;s load was 255.5% from 8 to 10 AM again</li>
<li>I looked at the Munin stats again to see how the PostgreSQL tweaks from a few weeks ago were holding up:</li>
<li>I looked at the Munin stats on DSpace Test (linode02) again to see how the PostgreSQL tweaks from a few weeks ago were holding up:</li>
</ul>
<p><img src="/cgspace-notes/2017/12/postgres-connections-month.png" alt="PostgreSQL connections month" /></p>
<p><img src="/cgspace-notes/2017/12/postgres-connections-month.png" alt="DSpace Test PostgreSQL connections month" /></p>
<ul>
<li>The results look fantastic! So the <code>random_page_cost</code> tweak is massively important for informing the PostgreSQL scheduler that there is no &ldquo;cost&rdquo; to accessing random pages, as we&rsquo;re on an SSD!</li>
<li>I guess we could probably even reduce the PostgreSQL connections in DSpace / PostgreSQL after using this</li>
<li>Run system updates on DSpace Test (linode02) and reboot it</li>
<li>I&rsquo;m going to enable the PostgreSQL <code>random_page_cost</code> tweak on CGSpace</li>
<li>For reference, here is the past month&rsquo;s connections:</li>
</ul>
<p><img src="/cgspace-notes/2017/12/postgres-connections-month-cgspace.png" alt="CGSpace PostgreSQL connections month" /></p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

@ -4,7 +4,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-12/</loc>
<lastmod>2017-12-04T15:37:58+03:00</lastmod>
<lastmod>2017-12-04T15:39:52+03:00</lastmod>
</url>
<url>
@ -139,7 +139,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-12-04T15:37:58+03:00</lastmod>
<lastmod>2017-12-04T15:39:52+03:00</lastmod>
<priority>0</priority>
</url>
@ -150,7 +150,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-12-04T15:37:58+03:00</lastmod>
<lastmod>2017-12-04T15:39:52+03:00</lastmod>
<priority>0</priority>
</url>
@ -162,13 +162,13 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-12-04T15:37:58+03:00</lastmod>
<lastmod>2017-12-04T15:39:52+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-12-04T15:37:58+03:00</lastmod>
<lastmod>2017-12-04T15:39:52+03:00</lastmod>
<priority>0</priority>
</url>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB