RE: Time-our on compute intensice page

2009-03-17 Thread Adrian Lynch

Put cfsetting requesttimeout=number of seconds here in your page.

Adrian

 -Original Message-
 From: Ron Gruner [mailto:webmas...@gruner.com]
 Sent: 17 March 2009 10:50
 To: cf-talk
 Subject: Time-our on compute intensice page
 
 
 I'm executing a compute-intensive page that has 500 iterations which
 generates an exceeded allowable time limit error after 30 seconds or
 so.  The page needs to run 500 seconds to finish.  I tried executing
 one iteration and then having the page call itself using cflocation
 but that errors out after 10 iterations, I assume to block infinite
 loops.
 
 So, how do I execute 500 iterations of a routine taking about one
 second each?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320566
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Time-our on compute intensice page

2009-03-17 Thread Azadi Saryev

try putting cfsetting requesttimeout=600 at the top of your page.
that will set the request timeout to 600 seconds.

alternatively, consider breaking your routine into several different
pages pages... or running it a scheduled task... or using cfthread if
you are on cf8...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Ron Gruner wrote:
 I'm executing a compute-intensive page that has 500 iterations which 
 generates an exceeded allowable time limit error after 30 seconds or so.  
 The page needs to run 500 seconds to finish.  I tried executing one iteration 
 and then having the page call itself using cflocation but that errors out 
 after 10 iterations, I assume to block infinite loops.

 So, how do I execute 500 iterations of a routine taking about one second 
 each? 


   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320567
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Time-our on compute intensice page

2009-03-17 Thread Ron Gruner

Put cfsetting requesttimeout=number of seconds here in your page.

Adrian

Works!  This is a great forum for folks like me.  Your help is really 
appreciated. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4