Update notes for 2020-04-30

This commit is contained in:
Alan Orth 2020-04-30 14:49:46 +03:00
parent d6c27e101f
commit bc5fb6a401
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
7 changed files with 59 additions and 9 deletions

View File

@ -473,5 +473,31 @@ $ curl -s "http://localhost:8081/solr/statistics/update?softCommit=true" -H "Con
```
- Run all system updates on DSpace Test and reboot it
- Tezira is still having issue submitting to CGSpace and the database is definitely busy according to Munin:
![Tomcat postgres connections week](/cgspace-notes/2020/04/postgres_connections_cgspace-week.png)
- But I don't see a lot of connections in PostgreSQL itself:
```
$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
5 dspaceApi
6 dspaceCli
14 dspaceWeb
$ psql -c 'select * from pg_stat_activity' | wc -l
30
```
- Tezira said she cleared her browser cache and then was able to submit again
- She said once she logged back in she had very many "Untitled" submissions pending
- I see that the database connections are indeed much lower now:
![Tomcat postgres connections week](/cgspace-notes/2020/04/postgres_connections_cgspace-day.png)
- The PostgreSQL log shows a lot of errors about deadlocks and queries waiting on other processes...
```
ERROR: deadlock detected
```
<!-- vim: set sw=2 ts=2: -->

View File

@ -25,7 +25,7 @@ On the same note, the one item Abenet pointed out last week now has a donut with
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-04/" />
<meta property="article:published_time" content="2020-04-02T10:53:24+03:00" />
<meta property="article:modified_time" content="2020-04-30T10:44:23+03:00" />
<meta property="article:modified_time" content="2020-04-30T11:21:42+03:00" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="April, 2020"/>
@ -55,9 +55,9 @@ On the same note, the one item Abenet pointed out last week now has a donut with
"@type": "BlogPosting",
"headline": "April, 2020",
"url": "https://alanorth.github.io/cgspace-notes/2020-04/",
"wordCount": "3286",
"wordCount": "3406",
"datePublished": "2020-04-02T10:53:24+03:00",
"dateModified": "2020-04-30T10:44:23+03:00",
"dateModified": "2020-04-30T11:21:42+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -609,8 +609,32 @@ $ curl -s &quot;http://localhost:8081/solr/statistics/update?softCommit=true&quo
# rm -rf /etc/letsencrypt.bak
</code></pre><ul>
<li>Run all system updates on DSpace Test and reboot it</li>
<li>Tezira is still having issue submitting to CGSpace and the database is definitely busy according to Munin:</li>
</ul>
<!-- raw HTML omitted -->
<p><img src="/cgspace-notes/2020/04/postgres_connections_cgspace-week.png" alt="Tomcat postgres connections week"></p>
<ul>
<li>But I don&rsquo;t see a lot of connections in PostgreSQL itself:</li>
</ul>
<pre><code>$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
5 dspaceApi
6 dspaceCli
14 dspaceWeb
$ psql -c 'select * from pg_stat_activity' | wc -l
30
</code></pre><ul>
<li>Tezira said she cleared her browser cache and then was able to submit again
<ul>
<li>She said once she logged back in she had very many &ldquo;Untitled&rdquo; submissions pending</li>
<li>I see that the database connections are indeed much lower now:</li>
</ul>
</li>
</ul>
<p><img src="/cgspace-notes/2020/04/postgres_connections_cgspace-day.png" alt="Tomcat postgres connections week"></p>
<ul>
<li>The PostgreSQL log shows a lot of errors about deadlocks and queries waiting on other processes&hellip;</li>
</ul>
<pre><code>ERROR: deadlock detected
</code></pre><!-- raw HTML omitted -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -4,27 +4,27 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2020-04/</loc>
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
<lastmod>2020-04-30T11:21:42+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
<lastmod>2020-04-30T11:21:42+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
<lastmod>2020-04-30T11:21:42+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
<lastmod>2020-04-30T11:21:42+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
<lastmod>2020-04-30T11:21:42+03:00</lastmod>
</url>
<url>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB