From c6cce2211e88eefc6128358625f5d0799b14252f Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 5 Dec 2015 17:42:56 +0200 Subject: [PATCH] Add notes and pictures for 2015-12-05 Signed-off-by: Alan Orth --- content/2015-12.md | 18 +++++++++++++++ public/2015-12/index.html | 21 ++++++++++++++++++ .../images/2015/12/postgres_bgwriter-year.png | Bin 0 -> 20701 bytes .../2015/12/postgres_cache_cgspace-year.png | Bin 0 -> 28677 bytes .../12/postgres_connections_cgspace-year.png | Bin 0 -> 25198 bytes .../2015/12/postgres_locks_cgspace-year.png | Bin 0 -> 29061 bytes .../2015/12/postgres_scans_cgspace-year.png | Bin 0 -> 22961 bytes public/index.xml | 21 ++++++++++++++++++ public/tags/notes/index.xml | 21 ++++++++++++++++++ .../images/2015/12/postgres_bgwriter-year.png | Bin 0 -> 20701 bytes .../2015/12/postgres_cache_cgspace-year.png | Bin 0 -> 28677 bytes .../12/postgres_connections_cgspace-year.png | Bin 0 -> 25198 bytes .../2015/12/postgres_locks_cgspace-year.png | Bin 0 -> 29061 bytes .../2015/12/postgres_scans_cgspace-year.png | Bin 0 -> 22961 bytes 14 files changed, 81 insertions(+) create mode 100644 public/images/2015/12/postgres_bgwriter-year.png create mode 100644 public/images/2015/12/postgres_cache_cgspace-year.png create mode 100644 public/images/2015/12/postgres_connections_cgspace-year.png create mode 100644 public/images/2015/12/postgres_locks_cgspace-year.png create mode 100644 public/images/2015/12/postgres_scans_cgspace-year.png create mode 100644 static/images/2015/12/postgres_bgwriter-year.png create mode 100644 static/images/2015/12/postgres_cache_cgspace-year.png create mode 100644 static/images/2015/12/postgres_connections_cgspace-year.png create mode 100644 static/images/2015/12/postgres_locks_cgspace-year.png create mode 100644 static/images/2015/12/postgres_scans_cgspace-year.png diff --git a/content/2015-12.md b/content/2015-12.md index 01fc96837..ae5701e78 100644 --- a/content/2015-12.md +++ b/content/2015-12.md @@ -107,3 +107,21 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all 0.854 ``` + +## 2015-12-05 + +- CGSpace has been up and down all day and REST API is completely unresponsive +- PostgreSQL idle connections are currently: + +``` +postgres@linode01:~$ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace | grep -c idle +28 +``` + +- I have reverted all the pgtune tweaks from the other day, as they didn't fix the stability issues, so I'd rather not have them introducing more variables into the equation +- The PostgreSQL stats from Munin all point to something database-related with the DSpace 5 upgrade around mid–late November + +![PostgreSQL bgwriter (year)](../images/2015/12/postgres_bgwriter-year.png) +![PostgreSQL cache (year)](../images/2015/12/postgres_cache_cgspace-year.png) +![PostgreSQL locks (year)](../images/2015/12/postgres_locks_cgspace-year.png) +![PostgreSQL scans *year)](../images/2015/12/postgres_scans_cgspace-year.png) diff --git a/public/2015-12/index.html b/public/2015-12/index.html index a4ae4f834..6b2772e57 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -192,6 +192,27 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle 0.854 +

2015-12-05

+ + + +
postgres@linode01:~$ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace | grep -c idle
+28
+
+ + + +

PostgreSQL bgwriter (year) +PostgreSQL cache (year) +PostgreSQL locks (year) +PostgreSQL scans *year)

+