Add notes for 2018-02-13

This commit is contained in:
Alan Orth 2018-02-13 15:16:18 +02:00
parent 98572ff352
commit a24c2c930c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 80 additions and 8 deletions

View File

@ -419,3 +419,37 @@ dspace=# select * from metadatavalue where resource_type_id=2 and metadata_field
- I think our current $40/month Linode has enough CPU and memory capacity, but we need more disk space
- I think I'd probably just attach the block storage volume and mount it on /home/dspace
- Ask Peter about `dc.rights` on DSpace Test again, if he likes it then we should move it to CGSpace soon
## 2018-02-13
- Peter said he was getting a "socket closed" error on CGSpace
- I looked in the dspace.log.2018-02-13 and saw one recent one:
```
2018-02-13 12:50:13,656 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error -
org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
...
Caused by: java.net.SocketException: Socket closed
```
- Could be because of the `removeAbandoned="true"` that I enabled in the JDBC connection pool last week?
```
$ grep -c "java.net.SocketException: Socket closed" dspace.log.2018-02-*
dspace.log.2018-02-01:0
dspace.log.2018-02-02:0
dspace.log.2018-02-03:0
dspace.log.2018-02-04:0
dspace.log.2018-02-05:0
dspace.log.2018-02-06:0
dspace.log.2018-02-07:0
dspace.log.2018-02-08:1
dspace.log.2018-02-09:6
dspace.log.2018-02-10:0
dspace.log.2018-02-11:3
dspace.log.2018-02-12:0
dspace.log.2018-02-13:4
```
- I apparently added that on 2018-02-07 so it could be, as I don't see any of those socket closed errors in 2018-01's logs!
- I will increase the removeAbandonedTimeout from its default of 60 to 90 and enable logAbandoned

View File

@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl
<meta property="article:published_time" content="2018-02-01T16:28:54&#43;02:00"/>
<meta property="article:modified_time" content="2018-02-12T11:33:00&#43;02:00"/>
<meta property="article:modified_time" content="2018-02-12T11:38:08&#43;02:00"/>
@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu&rsquo;s munin-pl
"@type": "BlogPosting",
"headline": "February, 2018",
"url": "https://alanorth.github.io/cgspace-notes/2018-02/",
"wordCount": "2899",
"wordCount": "3020",
"datePublished": "2018-02-01T16:28:54&#43;02:00",
"dateModified": "2018-02-12T11:33:00&#43;02:00",
"dateModified": "2018-02-12T11:38:08&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -592,6 +592,44 @@ dspace=# commit;
<li>Ask Peter about <code>dc.rights</code> on DSpace Test again, if he likes it then we should move it to CGSpace soon</li>
</ul>
<h2 id="2018-02-13">2018-02-13</h2>
<ul>
<li>Peter said he was getting a &ldquo;socket closed&rdquo; error on CGSpace</li>
<li>I looked in the dspace.log.2018-02-13 and saw one recent one:</li>
</ul>
<pre><code>2018-02-13 12:50:13,656 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error -
org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
...
Caused by: java.net.SocketException: Socket closed
</code></pre>
<ul>
<li>Could be because of the <code>removeAbandoned=&quot;true&quot;</code> that I enabled in the JDBC connection pool last week?</li>
</ul>
<pre><code>$ grep -c &quot;java.net.SocketException: Socket closed&quot; dspace.log.2018-02-*
dspace.log.2018-02-01:0
dspace.log.2018-02-02:0
dspace.log.2018-02-03:0
dspace.log.2018-02-04:0
dspace.log.2018-02-05:0
dspace.log.2018-02-06:0
dspace.log.2018-02-07:0
dspace.log.2018-02-08:1
dspace.log.2018-02-09:6
dspace.log.2018-02-10:0
dspace.log.2018-02-11:3
dspace.log.2018-02-12:0
dspace.log.2018-02-13:4
</code></pre>
<ul>
<li>I apparently added that on 2018-02-07 so it could be, as I don&rsquo;t see any of those socket closed errors in 2018-01&rsquo;s logs!</li>
<li>I will increase the removeAbandonedTimeout from its default of 60 to 90 and enable logAbandoned</li>
</ul>

View File

@ -4,7 +4,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2018-02/</loc>
<lastmod>2018-02-12T11:33:00+02:00</lastmod>
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
</url>
<url>
@ -149,7 +149,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2018-02-12T11:33:00+02:00</lastmod>
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
<priority>0</priority>
</url>
@ -160,7 +160,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2018-02-12T11:33:00+02:00</lastmod>
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
<priority>0</priority>
</url>
@ -172,13 +172,13 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2018-02-12T11:33:00+02:00</lastmod>
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2018-02-12T11:33:00+02:00</lastmod>
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
<priority>0</priority>
</url>