<?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 Re: AsyncExecutor multiple instances causing deadlock  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2960#M892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Greg. I will dig into at our end to see if we can find something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 19:51:55 GMT</pubDate>
    <dc:creator>francop</dc:creator>
    <dc:date>2017-01-11T19:51:55Z</dc:date>
    <item>
      <title>AsyncExecutor multiple instances causing deadlock</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2958#M890</link>
      <description>Hi, We are currently experiencing out of memory(OOM) situation in our application. Thread dump shows blocked threads on activiti's AsyncJobExecutor with 2 instances of the same being created concurrently to acquire the jobs, blocking on each other causing deadlock situation. This results in spinning</description>
      <pubDate>Wed, 11 Jan 2017 14:14:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2958#M890</guid>
      <dc:creator>francop</dc:creator>
      <dc:date>2017-01-11T14:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: AsyncExecutor multiple instances causing deadlock</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2959#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Franco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting problem and certainly not one I have ever come across, which suggests it to be an environmental issue.&lt;BR /&gt;The fact that Activiti creates two threads that both monitor the Job Queue (ACT_RU_JOBS) is completely expected and in fact a performance enhancement made around the 5.17 release. Prior to this, a single Job Executor thread was responsible for both async and timer jobs.&lt;/P&gt;&lt;P&gt;The change introduced a second thread, now we have a thread managing async jobs and a second managing timer jobs. Both share the ACT_RU_JOBS table where lock details, retry counts etc are stored.&lt;BR /&gt;&lt;BR /&gt;Likely this has something to do with your Oracle connection pool setup, transaction isolation level or something like that but without a full repro environment I can't really give you much more than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:53:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2959#M891</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-11T17:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: AsyncExecutor multiple instances causing deadlock</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2960#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Greg. I will dig into at our end to see if we can find something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 19:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/asyncexecutor-multiple-instances-causing-deadlock/m-p/2960#M892</guid>
      <dc:creator>francop</dc:creator>
      <dc:date>2017-01-11T19:51:55Z</dc:date>
    </item>
  </channel>
</rss>

