Mark, I found this while googling...
Cannot create a new thread because the task queue has reached it maximum limitI started getting this error on the importer. A server restart was the only way to fix the issue and I'm a little unsure as to what the problem might have been. After thinking about it for a while I beleive that there is a thread limit built into CF and that that threshold had been met with entirely unresponsive threads. It would appear then that once this thread pool is full, CF just returns this error. Might help. might not!! On 2/14/08, Mark Mandel <[EMAIL PROTECTED]> wrote: > Jaime - you've seen the error that you can't create a cfthread on a > cf7 box? ;o) That's pretty neat! ;o) > > We have had some performance issues on that box, but unfortunately I > am not aware of the specifics, or if they have been solved. > > It's just such a weird error, I'm not sure where to start with it. > > The rest of the app runs fine while that error fires (unless it gets > hit), and eventually it just goes away. > > Mark > > On Thu, Feb 14, 2008 at 4:54 PM, Jaime Metcher > <[EMAIL PROTECTED]> wrote: > > FWIW, I have seen this error on a stressed CF7 box undergoing GC thrashing, > > where it basically meant the server was totally resource starved and about > > to die. I have a vague recollection that the queue in question is not the > > list of jrpp worker threads but rather the queue of things waiting to be > > assigned to a worker thread. Obviously CF8 changes the game, but I > > presume > > you've ruled out memory issues, infinite loops, pathological GCs etc? > > > > Jaime Metcher > > > > > > > > > -----Original Message----- > > > From: Mark Mandel [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, 14 February 2008 3:28 PM > > > To: CF-Talk > > > Subject: Cannot create a new thread because the task queue has reached > > > it maximum limit > > > > > > > > > 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 > > > > > > -- > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:298966 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

