mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 00:18:21 +01:00
Update notes for 2017-12-04
This commit is contained in:
parent
a559b6bc70
commit
1845e9966e
@ -85,9 +85,14 @@ $ grep 2.86.122.76 /home/cgspace.cgiar.org/log/dspace.log.2017-12-01 | grep -o -
|
|||||||
## 2017-12-04
|
## 2017-12-04
|
||||||
|
|
||||||
- Linode alerted that CGSpace's load was 255.5% from 8 to 10 AM again
|
- 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!
|
- 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
|
- 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)
|
||||||
|
@ -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+03:00"/>
|
<meta property="article:published_time" content="2017-12-01T13:53:54+03:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2017-12-04T15:37:58+03:00"/>
|
<meta property="article:modified_time" content="2017-12-04T15:39:52+03:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -56,9 +56,9 @@ The list of connections to XMLUI and REST API for today:
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "December, 2017",
|
"headline": "December, 2017",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2017-12/",
|
"url": "https://alanorth.github.io/cgspace-notes/2017-12/",
|
||||||
"wordCount": "418",
|
"wordCount": "450",
|
||||||
"datePublished": "2017-12-01T13:53:54+03:00",
|
"datePublished": "2017-12-01T13:53:54+03:00",
|
||||||
"dateModified": "2017-12-04T15:37:58+03:00",
|
"dateModified": "2017-12-04T15:39:52+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -210,16 +210,21 @@ The list of connections to XMLUI and REST API for today:
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Linode alerted that CGSpace’s load was 255.5% from 8 to 10 AM again</li>
|
<li>Linode alerted that CGSpace’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>
|
</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>
|
<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 “cost” to accessing random pages, as we’re on an SSD!</li>
|
<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 “cost” to accessing random pages, as we’re on an SSD!</li>
|
||||||
<li>I guess we could probably even reduce the PostgreSQL connections in DSpace / PostgreSQL after using this</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’m going to enable the PostgreSQL <code>random_page_cost</code> tweak on CGSpace</li>
|
||||||
|
<li>For reference, here is the past month’s connections:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2017/12/postgres-connections-month-cgspace.png" alt="CGSpace PostgreSQL connections month" /></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BIN
public/2017/12/postgres-connections-month-cgspace.png
Normal file
BIN
public/2017/12/postgres-connections-month-cgspace.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2017-12/</loc>
|
<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>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -162,13 +162,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
BIN
static/2017/12/postgres-connections-month-cgspace.png
Normal file
BIN
static/2017/12/postgres-connections-month-cgspace.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
Loading…
Reference in New Issue
Block a user