[kepler-dev] DDFDirector + WebService actor infinite loop

Daniel Crawl crawl at sdsc.edu
Thu Feb 11 15:31:14 PST 2010


Hi Peter,

Thanks for sending your workflow. To make it execute one iteration,
all the StringConst actors should be restricted to run only once.
You can do this either by setting their firingCountLimit = 1, or
connecting their trigger input to a Const actor with
firingCountLimit = 1 as done in the attached workflow.

   --dan


On 2/11/10 3:08 PM, Peter Elespuru wrote:
> The workflow is attached.
>
> I added a firingCountLimit 1 to the WS actor and a couple of others, 
> but it didn't help...
>
> I made a few mods so it will run for you (the original has some custom 
> actors that I've been developing, which are unrelated to the problem)
>
> At present, I have it to the point where it will only plot one set, 
> but it is continuing to repeatedly make the WS call unless stopped 
> manually, as described.
>
> Thanks for the help!
>
> On 02/11/2010 03:54 PM, Daniel Crawl wrote:
>>
>> Hi Peter,
>>
>> It sounds like one or more of the actors in your workflow
>> needs to have their firingCountLimit parameter set to 1.
>>
>> Could you email me your workflow?
>>
>> Thanks,
>>
>> --dan
>>
>>
>> On 2/11/10 2:00 PM, Peter Elespuru wrote:
>>> Hello,
>>>
>>> I came across this older list entry:
>>>
>>> http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2008-November/013469.html 
>>>
>>>
>>>
>>> while attempting to remedy a similar problem by creating a custom
>>> ArrayToSequence actor, only to realize I was using the wrong director
>>> to begin with...
>>>
>>> My workflow is fairly straight forward. It obtains some data from a
>>> web service, massages the proprietary ASCII format it receives into
>>> something the SequencePlotter can handle, and plots the result.
>>>
>>> However, when changing to DDF (from SDF), my flow ends up in an
>>> infinite loop unless stopped manually via the UI, or unless I specify
>>> an exact number of iterations to the DDFDirector. Otherwise, it makes
>>> repeated calls to the web service and happily appends the results to
>>> the plotter.
>>>
>>> I've combed through the user and dev mail archives, as well as Google
>>> and haven't been able to come up with a solution so far.
>>>
>>> Any thoughts ?
>>>
>>> Regards,
>>> -Peter Elespuru
>>>
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spidrInfiniteLoop.xml
Type: text/xml
Size: 141431 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100211/453b3f52/attachment-0001.xml>


More information about the Kepler-dev mailing list