<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;DB connection pool is depleted&amp;quot; errors and alfresco did not respond anymore in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8043#M3648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;My alfresco CE is&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;201706GA environment on amazon linux, &lt;SPAN style="color: #444444;"&gt;m4.2xlarge&lt;/SPAN&gt;, postgresql, solr4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;The instance is set both db.pool.max (alfresco-global.properties) and&amp;nbsp;&lt;/SPAN&gt;max_connections(postgresql.conf) as 300.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;Today we have outages where the alfresco process is running but the application does not respond anymore. Only a restart of alfresco solves this issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;No outstanding CPU/RAM usage.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;I found the error repeatedly in catalina.out.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2017-09-20 18:31:43,751 ERROR [util.transaction.TransactionSupportUtil] [defaultAsyncAction47] After completion (unknown) TransactionalCache exception&lt;BR /&gt; org.alfresco.util.transaction.ConnectionPoolException: 082029222 The DB connection pool is depleted.&lt;BR /&gt; at org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:421)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:453)&lt;BR /&gt; at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.getAllStores(AbstractTenantRoutingContentStore.java:135)&lt;BR /&gt; at org.alfresco.repo.content.AbstractRoutingContentStore.isWriteSupported(AbstractRoutingContentStore.java:234)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor1558.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:79)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.CryptodocSubsystemProxyFactory$1.invoke(CryptodocSubsystemProxyFactory.java:60)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;BR /&gt; at com.sun.proxy.$Proxy20.isWriteSupported(Unknown Source)&lt;BR /&gt; at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.deleteFromStores(EagerContentStoreCleaner.java:277)&lt;BR /&gt; at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.afterRollback(EagerContentStoreCleaner.java:254)&lt;BR /&gt; at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.afterCompletion(TransactionSupportUtil.java:601)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2017-09-20 18:31:43,884 ERROR [util.transaction.SpringAwareUserTransaction] [defaultAsyncAction47] Application exception overridden by rollback exception&lt;BR /&gt; java.lang.Exception&lt;BR /&gt; at org.alfresco.util.transaction.SpringAwareUserTransaction.rollback(SpringAwareUserTransaction.java:547)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:533)&lt;BR /&gt; at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.getAllStores(AbstractTenantRoutingContentStore.java:135)&lt;BR /&gt; at org.alfresco.repo.content.AbstractRoutingContentStore.isWriteSupported(AbstractRoutingContentStore.java:234)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor1558.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:79)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.CryptodocSubsystemProxyFactory$1.invoke(CryptodocSubsystemProxyFactory.java:60)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;BR /&gt; at com.sun.proxy.$Proxy20.isWriteSupported(Unknown Source)&lt;BR /&gt; at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.deleteFromStores(EagerContentStoreCleaner.java:277)&lt;BR /&gt; at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.afterRollback(EagerContentStoreCleaner.java:254)&lt;BR /&gt; at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.afterCompletion(TransactionSupportUtil.java:601)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2017-09-20 18:45:04,918 ERROR [transaction.support.TransactionSynchronizationUtils] [http-apr-8080-exec-2805] TransactionSynchronization.beforeCompletion threw exception&lt;BR /&gt; java.lang.IllegalStateException: No value for key [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory@1c96a2a7] bound to thread [http-apr-8080-exec-2805]&lt;BR /&gt; at org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource(TransactionSynchronizationManager.java:209)&lt;BR /&gt; at org.mybatis.spring.SqlSessionUtils$SqlSessionSynchronization.beforeCompletion(SqlSessionUtils.java:314)&lt;BR /&gt; at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCompletion(TransactionSynchronizationUtils.java:106)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 12:03:03 GMT</pubDate>
    <dc:creator>koichinakata</dc:creator>
    <dc:date>2017-09-20T12:03:03Z</dc:date>
    <item>
      <title>"DB connection pool is depleted" errors and alfresco did not respond anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8043#M3648</link>
      <description>Hi experts,My alfresco CE is&amp;nbsp;201706GA environment on amazon linux, m4.2xlarge, postgresql, solr4.The instance is set both db.pool.max (alfresco-global.properties) and&amp;nbsp;max_connections(postgresql.conf) as 300.Today we have outages where the alfresco process is running but the application does not resp</description>
      <pubDate>Wed, 20 Sep 2017 12:03:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8043#M3648</guid>
      <dc:creator>koichinakata</dc:creator>
      <dc:date>2017-09-20T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: "DB connection pool is depleted" errors and alfresco did not respond anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8044#M3649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your DB connection pool is depleted as shown in the logs. Once the pool is depleted, a restart is the only way to fix the problem. Maybe your question is "What caused my DB connection pool to be depleted?" but we aren't going to be able to answer that without additional context. Have you seen a spike in usage? Were you doing a large import? What has the DB connection trend been over time leading up to this point? What changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:22:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8044#M3649</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-02-19T19:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: "DB connection pool is depleted" errors and alfresco did not respond anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8045#M3650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be caused by too many concurrent connections to your database that ended up using and depleting the maximum connection pool. I suggest you try increasing your connection pools both alfresco and in database given that your memory can handle the load and see if this issue persists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:40:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/quot-db-connection-pool-is-depleted-quot-errors-and-alfresco-did/m-p/8045#M3650</guid>
      <dc:creator>lmaorence</dc:creator>
      <dc:date>2018-03-28T14:40:25Z</dc:date>
    </item>
  </channel>
</rss>

