Hey all,

We keep getting this error on our server:

Cannot create a new thread because the task queue has reached it maximum limit

Where we are attempting to use <cfthread> for some code (it's actually
Transfer code).

The error occurs on the block:
<cffunction name="run" hint="Runs the aspect of clearing out discard
queues" access="public" returntype="void" output="false">

        <!--- if we're inside a cfthread, run syncronously --->
        <cfif getThread().currentThread().getThreadGroup().getName() eq 
"cfthread">
                <cfscript>
                        super.run();
                </cfscript>
        <cfelse>
                <cfthread action="run"
name="transfer.DiscardQueueHandler_#getRequestFacade().getThreadID()#">
                        <cfscript>
                                super.run();
                        </cfscript>
                </cfthread>
        </cfif>
</cffunction>

On the link starting with <cfthread>

Has anyone come across this before? or have any idea what it is caused by?

Mark

-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to