diff --git a/content/2016-04.md b/content/2016-04.md index 10346f208..8a5061c03 100644 --- a/content/2016-04.md +++ b/content/2016-04.md @@ -250,3 +250,28 @@ javax.ws.rs.WebApplicationException - They are old ICRAF fields and we haven't used them since 2011 or so - Also delete them from the metadata registry +- CGSpace went down again, `dspace.log` had this: + +``` +2016-04-19 15:02:17,025 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error - +org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object +``` + +- I restarted Tomcat and PostgreSQL and now it's back up +- I bet this is the same crash as yesterday, but I only saw the errors in `catalina.out` +- Looks to be related to this, from `dspace.log`: + +``` +2016-04-19 15:16:34,670 ERROR org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement. +``` + +- We have 18,000 of these errors right now... +- Delete a few more old metadata values: `dc.Species.animal`, `dc.type.journal`, and `dc.publicationcategory`: + +``` +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=105; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=85; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=95; +``` + +- And then remove them from the metadata registry diff --git a/public/2016-04/index.html b/public/2016-04/index.html index c38e302bc..ed9dc0267 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -362,6 +362,34 @@ javax.ws.rs.WebApplicationException + +
2016-04-19 15:02:17,025 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error -
+org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
+
+ + + +
2016-04-19 15:16:34,670 ERROR org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement.
+
+ + + +
# delete from metadatavalue where resource_type_id=2 and metadata_field_id=105;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=85;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=95;
+
+ + diff --git a/public/index.xml b/public/index.xml index 8a745bcbb..703da6226 100644 --- a/public/index.xml +++ b/public/index.xml @@ -300,6 +300,34 @@ javax.ws.rs.WebApplicationException <ul> <li>They are old ICRAF fields and we haven&rsquo;t used them since 2011 or so</li> <li>Also delete them from the metadata registry</li> +<li>CGSpace went down again, <code>dspace.log</code> had this:</li> +</ul> + +<pre><code>2016-04-19 15:02:17,025 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error - +org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object +</code></pre> + +<ul> +<li>I restarted Tomcat and PostgreSQL and now it&rsquo;s back up</li> +<li>I bet this is the same crash as yesterday, but I only saw the errors in <code>catalina.out</code></li> +<li>Looks to be related to this, from <code>dspace.log</code>:</li> +</ul> + +<pre><code>2016-04-19 15:16:34,670 ERROR org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement. +</code></pre> + +<ul> +<li>We have 18,000 of these errors right now&hellip;</li> +<li>Delete a few more old metadata values: <code>dc.Species.animal</code>, <code>dc.type.journal</code>, and <code>dc.publicationcategory</code>:</li> +</ul> + +<pre><code># delete from metadatavalue where resource_type_id=2 and metadata_field_id=105; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=85; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=95; +</code></pre> + +<ul> +<li>And then remove them from the metadata registry</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 1c5cde84f..dd7fc9045 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -300,6 +300,34 @@ javax.ws.rs.WebApplicationException <ul> <li>They are old ICRAF fields and we haven&rsquo;t used them since 2011 or so</li> <li>Also delete them from the metadata registry</li> +<li>CGSpace went down again, <code>dspace.log</code> had this:</li> +</ul> + +<pre><code>2016-04-19 15:02:17,025 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error - +org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object +</code></pre> + +<ul> +<li>I restarted Tomcat and PostgreSQL and now it&rsquo;s back up</li> +<li>I bet this is the same crash as yesterday, but I only saw the errors in <code>catalina.out</code></li> +<li>Looks to be related to this, from <code>dspace.log</code>:</li> +</ul> + +<pre><code>2016-04-19 15:16:34,670 ERROR org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement. +</code></pre> + +<ul> +<li>We have 18,000 of these errors right now&hellip;</li> +<li>Delete a few more old metadata values: <code>dc.Species.animal</code>, <code>dc.type.journal</code>, and <code>dc.publicationcategory</code>:</li> +</ul> + +<pre><code># delete from metadatavalue where resource_type_id=2 and metadata_field_id=105; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=85; +# delete from metadatavalue where resource_type_id=2 and metadata_field_id=95; +</code></pre> + +<ul> +<li>And then remove them from the metadata registry</li> </ul>