Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been an 
absolute nightmare.

The current nightmare I'm dealing with is a template that will not return or 
timeout.

I've got a global timeout set in the admin.

I've tried setting a page timeout with <cfsetting requesttimeout>.

On the template itself, I've got a bunch of cfexecutes doing command line batch 
processing.
Roughly 30 doing imageMagick image manipulations (which I could probably 
combine into one batch file, now that I think about it.)
And two problem children.  One that runs a batch file that converts the images 
into an .avi file.  This one takes awhile, about 9 minutes.
And a second batch file that runs ffmpeg to add an mp3 file and convert that 
avi into an mpg.

I've tried putting timeouts on the cfexecutes for the last two and nothing.  
The page never returns.  The thread shows up in Server Monitor, and goes away 
10 minutes or so later,
but the page just hangs.  I've even tried putting a <cfabort> after the last 
cfexecute, but nothing. The log file just shows the steps in the batch file, 
which is simply migrating 
to the directory and calling the .vbs file, or ffmpeg on the appropriate files. 
 When I run the bat files on the server logging in with the same account 
as CF runs under, the command prompt pops up for the appropriate amount of 
time, then goes away.

<cfexecute name="c:\windows\system32\cmd" timeout="600" arguments="/c 
#pathToBatFile#createAVI.bat" outputFile="c:\logs\createAVI#IDField#.txt" />

Once I get it running correctly, I'll probably move it to another server and 
schedule it, but I need it working correctly first.

Any ideas?  I'm going nuts here. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343516
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to