mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 22:55:04 +01:00
Add notes for 2018-02-13
This commit is contained in:
parent
98572ff352
commit
a24c2c930c
@ -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 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
|
- 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
|
- 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
|
||||||
|
@ -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+02:00"/>
|
<meta property="article:published_time" content="2018-02-01T16:28:54+02:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2018-02-12T11:33:00+02:00"/>
|
<meta property="article:modified_time" content="2018-02-12T11:38:08+02:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "February, 2018",
|
"headline": "February, 2018",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-02/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-02/",
|
||||||
"wordCount": "2899",
|
"wordCount": "3020",
|
||||||
"datePublished": "2018-02-01T16:28:54+02:00",
|
"datePublished": "2018-02-01T16:28:54+02:00",
|
||||||
"dateModified": "2018-02-12T11:33:00+02:00",
|
"dateModified": "2018-02-12T11:38:08+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"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>
|
<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>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2018-02-13">2018-02-13</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Peter said he was getting a “socket closed” 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="true"</code> that I enabled in the JDBC connection pool last week?</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ 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
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>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!</li>
|
||||||
|
<li>I will increase the removeAbandonedTimeout from its default of 60 to 90 and enable logAbandoned</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-02/</loc>
|
<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>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -149,7 +149,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -160,7 +160,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<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>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -172,13 +172,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
<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>
|
<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>2018-02-12T11:33:00+02:00</lastmod>
|
<lastmod>2018-02-12T11:38:08+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user