Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19152

Slow after publish workflow induces Asynchronous Publishing process floods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.5.0
    • Fix Version/s: None
    • Component/s: Legacy > Workflows
    • Labels:
      None

      Description

      Triggering After Publishing Workflows that take long to execute may result in several errors, when combined with Asynchronous Publishing mechanism.

      More often then not, these errors result in the non publication of the objects and the non termination of the fork'ed php process created by asynchronous publishing. (causing a crescent number of unfinished php processes to persist)

      Possible related errors reported in the async.log are //Lock wait timeout// together with the odd appearance of multiple lines indicating the //Processing item// of the same item.

      In error.log the //Lock timeout exceeded// error might make it's appearance as well.

      Steps to reproduce
      • Create a workflow that takes sometime to execute (a simple delay function will do)
      • Trigger this workflow in an After Publish Event
      • Enable Asynchronous Publishing
      • Create a few articles
      • You'll notice a crescent number of //bin/php/ezasynchronouspublisher.php// processes being started. Some of them not finishing.

      Once you give up waiting you'll have to kill most of these processes manually
      (useful command, use with discretion)

      kill -9 `ps -Af | grep "bin/php/ezasynchronouspublisher.php" | gawk -F\  '{print $2}'`
      

        Attachments

          Activity

            People

            • Assignee:
              dp@ez.no Damien Pobel (eZ)
              Reporter:
              joc@ez.no J. J. Cavalleri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: