<?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: What does PostCommitListeners are too slow imply? How is it fixed? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-postcommitlisteners-are-too-slow-imply-how-is-it-fixed/m-p/314735#M1736</link>
    <description>&lt;P&gt;PostCommitSynchronousRunner creates a new synchronous thread to run the listener process. The code has a default timeout of 300ms for the synchronous event. If the synchronous thread is still alive after 300ms then the error message that you see above is thrown.&lt;/P&gt;
&lt;P&gt;So if you are creating a document in the listener then I might start with the database log and see how long the database transactions are taking as this is typically the slowest part of a transaction.&lt;/P&gt;</description>
    <pubDate>Sat, 07 Apr 2012 16:10:37 GMT</pubDate>
    <dc:creator>bruce_Grant</dc:creator>
    <dc:date>2012-04-07T16:10:37Z</dc:date>
    <item>
      <title>What does PostCommitListeners are too slow imply? How is it fixed?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-postcommitlisteners-are-too-slow-imply-how-is-it-fixed/m-p/314734#M1735</link>
      <description>&lt;P&gt;I get the following error when several event handlers are called in succesion:&lt;/P&gt;
&lt;P&gt;See post: Firing even handlers when structured templates are used to create document? for background&lt;/P&gt;
&lt;P&gt;here is the error log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2012-04-06 13:27:57,152 WARN  [org.nuxeo.ecm.core.event.tx.PostCommitSynchronousRunner] PostCommitListeners are too slow, check debug log ...
2012-04-06 13:27:57,153 WARN  [org.nuxeo.ecm.core.event.tx.PostCommitSynchronousRunner] Exit before the end of processing
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 21:39:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-postcommitlisteners-are-too-slow-imply-how-is-it-fixed/m-p/314734#M1735</guid>
      <dc:creator>karl_harris_</dc:creator>
      <dc:date>2012-04-06T21:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: What does PostCommitListeners are too slow imply? How is it fixed?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-postcommitlisteners-are-too-slow-imply-how-is-it-fixed/m-p/314735#M1736</link>
      <description>&lt;P&gt;PostCommitSynchronousRunner creates a new synchronous thread to run the listener process. The code has a default timeout of 300ms for the synchronous event. If the synchronous thread is still alive after 300ms then the error message that you see above is thrown.&lt;/P&gt;
&lt;P&gt;So if you are creating a document in the listener then I might start with the database log and see how long the database transactions are taking as this is typically the slowest part of a transaction.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2012 16:10:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-postcommitlisteners-are-too-slow-imply-how-is-it-fixed/m-p/314735#M1736</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-04-07T16:10:37Z</dc:date>
    </item>
  </channel>
</rss>

