diff --git a/content/post/2017-12.md b/content/post/2017-12.md index 56ccc711c..4112e5916 100644 --- a/content/post/2017-12.md +++ b/content/post/2017-12.md @@ -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) diff --git a/public/2017-12/index.html b/public/2017-12/index.html index b6ed7f38c..4130ac31b 100644 --- a/public/2017-12/index.html +++ b/public/2017-12/index.html @@ -23,7 +23,7 @@ The list of connections to XMLUI and REST API for today: - + @@ -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+03:00", - "dateModified": "2017-12-04T15:37:58+03:00", + "dateModified": "2017-12-04T15:39:52+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -210,16 +210,21 @@ The list of connections to XMLUI and REST API for today: -

PostgreSQL connections month

+

DSpace Test PostgreSQL connections month

+

CGSpace PostgreSQL connections month

+ diff --git a/public/2017/12/postgres-connections-month-cgspace.png b/public/2017/12/postgres-connections-month-cgspace.png new file mode 100644 index 000000000..27602b450 Binary files /dev/null and b/public/2017/12/postgres-connections-month-cgspace.png differ diff --git a/public/sitemap.xml b/public/sitemap.xml index 8214723fb..dca793222 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-12/ - 2017-12-04T15:37:58+03:00 + 2017-12-04T15:39:52+03:00 @@ -139,7 +139,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-12-04T15:37:58+03:00 + 2017-12-04T15:39:52+03:00 0 @@ -150,7 +150,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-12-04T15:37:58+03:00 + 2017-12-04T15:39:52+03:00 0 @@ -162,13 +162,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2017-12-04T15:37:58+03:00 + 2017-12-04T15:39:52+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-12-04T15:37:58+03:00 + 2017-12-04T15:39:52+03:00 0 diff --git a/static/2017/12/postgres-connections-month-cgspace.png b/static/2017/12/postgres-connections-month-cgspace.png new file mode 100644 index 000000000..27602b450 Binary files /dev/null and b/static/2017/12/postgres-connections-month-cgspace.png differ