Maximum execution time exceeded (600000 ms).

259 views
Skip to first unread message

bestfri...@gmail.com

unread,
Feb 6, 2014, 1:45:48 PM2/6/14
to suppor...@runmyprocess.com
Hi Team,

Script is failing with below error, is it possible to fix this error

Maximum execution time exceeded (600000 ms).


Thanks and Regards
Nagasai Aytha

thoshino

unread,
Feb 6, 2014, 2:29:01 PM2/6/14
to suppor...@runmyprocess.com, bestfri...@gmail.com
Hi Sai,

That is the platform limit we enforce to ensure fair usage of compute resources.
As the error message suggest, computation time was more than 10 minutes.

You must make changes to your script, even consider splitting it into multiple subprocesses if it is taking that long.

Best regards,

Taka

bestfri...@gmail.com

unread,
Feb 6, 2014, 2:43:53 PM2/6/14
to suppor...@runmyprocess.com, bestfri...@gmail.com
Hi Taka,


The script is for checking the match records and retrieving and storing in temp collection, if the input file is having more than 300 records also , it is failing.

<#assign my_pattern1>
{"process_request_id":"${P_request}"}
</#assign>
<#assign array_col = inject_objects(list_objects(my_pattern1,"testcsv3"),"MotorolaItemNumber")>
<#assign newlistuser = []>
<#list array_col as x>
<#assign my_pattern>
{"BottomLevelComponent":"${x.MotorolaItemNumber}"}
</#assign>
<#assign array_col1 = inject_objects(list_objects(my_pattern,"master"))>
<#if array_col1?size != 0>
<#assign newlistuser = newlistuser + array_col1>
</#if>
</#list>
<#list newlistuser?eval as y>
<#assign my_result_object = '{"process_request_id":"${P_request}",'>
<#list y?keys as z>
<#assign my_result_object = my_result_object + '"${z}":"${y[z]}"'><#if z_has_next><#assign my_result_object=my_result_object+','><#else><#assign my_result_object=my_result_object+'}'></#if>
</#list>
${save_object(my_result_object?eval,"temp")}
</#list>


Thanks
Sai

thoshino

unread,
Feb 6, 2014, 3:28:32 PM2/6/14
to suppor...@runmyprocess.com, bestfri...@gmail.com
Hi Sai,

This is very specific to your project, and not really suitable for forum topic.
We can help you under consulting service.

That said, I see 2 reads from collections.
How many records are returned for each?

And 1 write to collection.
How many iterations are happening here?

Best regards,

Taka
Reply all
Reply to author
Forward
0 new messages