Questions tagged [cfthread]

41 questions
1
vote
1 answer

Intermittent Problems With cfthread

I found this bug report. The question is, "Is that what's happening to me?". I have a few situations where I do this sort of thing. code for thread1 code for…
Dan Bracuk
  • 20,699
  • 4
  • 26
  • 43
1
vote
2 answers

Scope issue in CFTHREAD

I have a application that sends out a few 100k emails each night, so to speed processing added some cfthreads. This has caused some strange errors, and I've found that a variable created in one thread is being modified by another thread. From the…
Omiron
  • 341
  • 3
  • 15
1
vote
1 answer

Is it possible to lazyload images using Coldfusions cfthread?

I'm running coldfusion8/MySQL5.0.88 and I have a product search for which I need to pull in and resize images from various external sources before displaying them. While I can mostly do this when products are created (vs being searched), I can not…
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
0 answers

How to properly organize a work of threads in Coldfusion in my example

I have a Coldfusion app and page where I generate and download a file. There are cases when that process takes a lot of time. I would like to implement it so that the whole process looks like this: start the process of generating and downloading a…
0
votes
1 answer

How to read a big excel file using multithreaded programming in Coldfusion/Lucee?

I am trying to read a big excel file with using 10 threads as shown in the code bellow:
edam
  • 910
  • 10
  • 29
0
votes
0 answers

ColdFusion per app thread limit

I have a scheduled task that creates 20 to 50 or so threads. I have ColdFusion set to run 20 concurrently, but I am getting push back from the DB people saying that I am hitting their DB too hard. I am wondering if there is a way to have the page…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
0
votes
0 answers

CFThread Scope in debugger

Ok, trying to move 2 ldap and 2 sql queries into independent threads. The original Adobe(?) CF 8 debugger with/for cfeclipse (not cf builder) does not show the supposed CFThread scope. Can it be added to the CF8 debugger? Does the CFBuilder 3 show…
user3005033
  • 131
  • 6
0
votes
1 answer

ColdFusion Threads Remain in Thread Queue NOT_STARTED

I am using CFTHREAD on ColdFusion 8. Occasionally I find that all the threads stop executing and remain with STATUS=NOT_STARTED The server monitor tells me that there are no running requests, no running threads and an increasing number of queued…
0
votes
1 answer

Is cfexecute timeout=0 as good as cfthread action=run if no output needed?

Looking at some legacy code and the programmer in question uses: Can one safely replace the code above with this? Is…
Henry
  • 32,689
  • 19
  • 120
  • 221
0
votes
2 answers

ColdFusion - CFThread Failed to Set Header?

I'm getting a weird error from CFThread. I have it wrapped around a function that runs perfectly when outside CFThread. But, it takes about 20 seconds to complete so I shoot it off to CFThread then CFLocation the user to a new page and alert them…
pmascari
  • 271
  • 2
  • 10
0
votes
1 answer

cfhttp in cfloop limit? use cfthread

I'm currently trying to develop an API and the stage where I'm at just now is to populate a table with a full data set (ID, first name, last name, dob etc). The way I've written this is to use a cfloop from 1 to 500,000 (as I don't know what range…
CPB07
  • 679
  • 3
  • 13
  • 23
1 2
3