Add notes for 2016-09-14

This commit is contained in:
2016-09-14 16:06:50 +03:00
parent 76d29fbdc1
commit 1f0435daed
4 changed files with 153 additions and 0 deletions

View File

@ -191,3 +191,36 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
```
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
```
- I enabled logging of requests to `/rest` again
## 2016-09-14
- CGSpace crashed again, errors from `catalina.out`:
```
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
```
- I restarted Tomcat and it was ok again
- CGSpace crashed a few hours later, errors from `catalina.out`:
```
Exception in thread "http-bio-127.0.0.1-8081-exec-25" java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding.decode(StringCoding.java:215)
```
- We haven't seen that in quite a while...
- Indeed, in a month of logs it only occurs 15 times:
```
# grep -rsI "OutOfMemoryError" /var/log/tomcat7/catalina.* | wc -l
15
```
- I also see a bunch of errors from dspace.log:
```
2016-09-14 12:23:07,981 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
```