question

Jian Y. avatar image
Jian Y. asked ·

dynatrace is slow, and return error "Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1]" in correlation log

2019-02-19 11:01:49 SEVERE [DefaultChartProcessor] java.lang.NullPointerException: com.dynatrace.diagnostics.server.shared.chartprocessing.DefaultChartProcessor getChartResponse:251
java.lang.NullPointerException

2019-02-19 11:02:00 SEVERE [DefaultRepositoryExceptionHandler] Could not handle exception. See attached exception: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1].: com.dynatrace.diagnostics.repository.exceptiontranslators.DefaultRepositoryExceptionHandler handleException:77
com.dynatrace.diagnostics.server.shared.exceptions.repository.UncategorizedRepositoryException: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1].
at com.dynatrace.diagnostics.repository.exceptiontranslators.DefaultExceptionTranslator.doTranslateException(SourceFile:123)
at com.dynatrace.diagnostics.repository.exceptiontranslators.SQLServerExceptionTranslator.doTranslateException(SourceFile:78)
at com.dynatrace.diagnostics.repository.exceptiontranslators.DefaultExceptionTranslator.translateException(SourceFile:76)
at com.dynatrace.diagnostics.repository.statement.DefaultStatementExecutor.writeOnTransactionalConnection(SourceFile:96)
at com.dynatrace.diagnostics.repository.util.DefaultMeasureKeyCache.readBaselineSettings(SourceFile:1178)
at com.dynatrace.diagnostics.repository.AbstractRepositoryAccessor.readBaselineSettings(SourceFile:2194)
at com.dynatrace.diagnostics.repository.shared.Repository.readBaselineSettings(SourceFile:1596)
at com.dynatrace.diagnostics.core.aggregators.BaselineMeasurement.retestIfNecessaryAndUpdateConfiguration(SourceFile:228)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.a(SourceFile:529)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.h(SourceFile:500)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.run(SourceFile:391)
Caused by: org.apache.tomcat.jdbc.pool.PoolExhaustedException: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1].
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:675)
at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
at com.dynatrace.diagnostics.repository.datasources.DelegatingDataSource.getConnection(SourceFile:38)
at com.dynatrace.diagnostics.repository.datasources.TimeOutEnabledDelegatingDataSource.getConnection(SourceFile:29)
at com.dynatrace.diagnostics.repository.statement.DefaultStatementExecutor.writeOnTransactionalConnection(SourceFile:90)
... 7 more

2019-02-19 11:02:00 WARNING [DefaultStatementExecutor] Exception occured during PWH data processing. Exception: com.dynatrace.diagnostics.server.shared.exceptions.repository.UncategorizedRepositoryException: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1]. Cause: org.apache.tomcat.jdbc.pool.PoolExhaustedException: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1].: com.dynatrace.diagnostics.repository.statement.DefaultStatementExecutor writeOnTransactionalConnection:109
org.apache.tomcat.jdbc.pool.PoolExhaustedException: [Update Baseline Percentiles and Error Rates] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:50; busy:50; idle:0; lastwait:1].
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:675)
at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
at com.dynatrace.diagnostics.repository.datasources.DelegatingDataSource.getConnection(SourceFile:38)
at com.dynatrace.diagnostics.repository.datasources.TimeOutEnabledDelegatingDataSource.getConnection(SourceFile:29)
at com.dynatrace.diagnostics.repository.statement.DefaultStatementExecutor.writeOnTransactionalConnection(SourceFile:90)
at com.dynatrace.diagnostics.repository.util.DefaultMeasureKeyCache.readBaselineSettings(SourceFile:1178)
at com.dynatrace.diagnostics.repository.AbstractRepositoryAccessor.readBaselineSettings(SourceFile:2194)
at com.dynatrace.diagnostics.repository.shared.Repository.readBaselineSettings(SourceFile:1596)
at com.dynatrace.diagnostics.core.aggregators.BaselineMeasurement.retestIfNecessaryAndUpdateConfiguration(SourceFile:228)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.a(SourceFile:529)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.h(SourceFile:500)
at com.dynatrace.diagnostics.core.aggregators.BaselinesCenter$BaseliningUpdatingThread.run(SourceFile:391)

appmon6.1
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

0 Answers