> -----Original Message-----
> From: Jamie Jackson [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 13, 2006 7:56 PM
> To: CF-Talk
> Subject: Re: cfexecute buffer causing hangs?
> 
> Hmm, I'm probably one of the people you've seen while 
> Googling the subject. While I haven't tried cfexecuting the 
> vspider stuff from CFMX7, I've had significant problems with 
> it from CF5.
> 
> Are you saying that you had problems when you didn't specify 
> an output file or, or when you did? I wasnt' quite sure what 
> you meant by the "console" in this context.
> 
> Dumping the output to a browser had some fairly well known 
> limitations, but I'm interested in knowing whether there are 
> also problems even when specifying an output file.

Jamie,

Hello!  I did see your post and was thinking about emailing you directly
although I didn't see your email address anywhere.  I might've been just too
crazy at the time and overlooked it, though.

Basically what I am saying is that I specified an output file, but there
must be some buffering issue when a certain amount of output is exceeded.
Using vspider.exe from a command prompt worked fine, using the same exact
config file that I was using with cfexecute.  Only when I changed the
-loglevel argument in the vspider command file from "verbose" to "nostdout"
did it work, telling me that most likely any app that produces too much
output to stdout will hang.  When vspider hung, cpu usage for both jrun and
vspider.exe went down to 0, so it wasn't a problem as far as processor usage
goes.

Here is the cfexecute code which works fine now that the -loglevel is set:

<cfexecute 
name="#VSpiderPath#vspider.exe" 
arguments="-cmdfile #CommandFilePath#" 
outputfile="#TempDir#vspiderlog.txt" 
timeout="600">
</cfexecute>

What led me to the belief that it had to do with some type of buffering was
that fact that I didn't have any problems running other command line apps,
like netstat, ping, etc.  I still haven't tested on 6.1, only 7.0.1.

If you have any specific questions feel free to email me off-list.

Andy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237722
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to