| Previous · Next | |
| User | Message |
|
vanjwilson
|
Date: 10/19/2011 8:43 am · Subject: Phantom workflow not causing any Spectre errors · Rating: 0
strange problem: SendQueuedEmail... workflow was not running (mailQueue table contains entries), Spectre was running, Spectre tests passed, added logging to workflow module which was never triggered, finally increased log level to WARN and got:
WebGUI:Operation::Cron::www_runCronJob[295] - Could not create workflow instance for workflowId 'pbworkflow000000000007' from taskId 'pbcron0000000000000004': It is a singleton workflow and is still running from the last invocation. found this entry in WorkflowInstance table:
+------------------------+------------------------+-------------------+----------+-----------+------------+-------------------+--------------+------------+------------+-----------+ | instanceId | workflowId | currentActivityId | priority | className | methodName | parameters | runningSince | lastUpdate | lastStatus | noSession | +------------------------+------------------------+-------------------+----------+-----------+------------+-------------------+--------------+------------+------------+-----------+ | 4s4_U0qpYfbnXeMprwu2wg | pbworkflow000000000007 | NULL | 3 | NULL | NULL | {"parameters":{}} | 1316799643 | 1316799643 | NULL | 0 | +------------------------+------------------------+-------------------+----------+-----------+------------+-------------------+--------------+------------+------------+-----------+ 1 row in set (0.00 sec) workflow has been hung since 9/23, does anybody know why Spectre tests passed?
--- (Edited on 10/19/2011 8:43 am [GMT-0500] by vanjwilson) --- |
| Back to Top |
Rate [ | ]
|
|
vanjwilson
|
Date: 10/19/2011 9:43 am · Subject: Re: Phantom workflow not causing any Spectre errors · Rating: 0
perlDreamer gave the answer via the #webgui IRC channel: there's a spectre bug that causes singleton workflows to hang. we've fixed various aspects of it, but it still exists
the work around is to make a unix cronjob that restart spectre every few hours
this will cause spectre to read the Workflow Instance table, find the hung workflow, and process it
--- (Edited on 10/19/2011 9:43 am [GMT-0500] by vanjwilson) --- |
| Back to Top |
Rate [ | ]
|