Skip to main content
February 17, 2009
Question

cfthread queue

  • February 17, 2009
  • 6 replies
  • 2432 views
In the ColdFusion Administrator, on my machine the setting "Maximum number of threads available for CFTHREAD" is set to 10, which is the default and supposed maximum for Standard Edition.

Yet, in practice, I'm finding that only two threads are being started (based on looking at each thread's Starttime and Status). This is a problem because once two threads get into the status WAITING if they are joining to threads that are NOT_STARTED deadlock occurs. It is also a problem as things are theoretically going five times as slow.

What setting am I missing? Is there another limit to threads? My settings are mostly default settings.

I'm using Coldfusion 8,0,0,176276 with a Standard Edition License.
    This topic has been closed for replies.

    6 replies

    Inspiring
    February 24, 2009
    >> It's not hard to put this theory to the test though, is it?
    >
    > I don't have the license of standard edition... So I can't test it.

    Ah, fair point. So is this just a "as a matter of interest" / "for future
    reference" sort of question?

    Looking back at the earlier part of the thread on the web UI (I use the
    NNTP feed to post), I think the original posting pretty much answers your
    question, doesn't it?

    --
    Adam
    Participating Frequently
    February 24, 2009
    > It's not hard to put this theory to the test though, is it?

    I don't have the license of standard edition... So I can't test it.

    Inspiring
    February 24, 2009
    >> "CFTHREAD is limited to two additional spawned threads in Standard Edition."
    >
    > Does this mean we can create only two parallel threads at same time in a
    > request of Standard Edition?
    >
    > Or
    >
    > Does this mean we can create only two threads in a request of Standard Edition?
    >
    > Or
    >
    > Does this mean we can create only two parallel threads in a application of
    > Standard Edition?

    I would say it would be the first one.

    It's not hard to put this theory to the test though, is it?

    --
    Adam
    Participating Frequently
    February 24, 2009
    > "CFTHREAD is limited to two additional spawned threads in Standard Edition."

    Does this mean we can create only two parallel threads at same time in a request of Standard Edition?

    Or

    Does this mean we can create only two threads in a request of Standard Edition?

    Or

    Does this mean we can create only two parallel threads in a application of Standard Edition?
    Inspiring
    February 18, 2009
    GantzerGroupRCB wrote:
    > In the ColdFusion Administrator, on my machine the setting "Maximum number of
    > threads available for CFTHREAD" is set to 10, which is the default and supposed
    > maximum for Standard Edition.
    >
    > Yet, in practice, I'm finding that only two threads are being started (based
    > on looking at each thread's Starttime and Status). This is a problem because
    > once two threads get into the status WAITING if they are joining to threads
    > that are NOT_STARTED deadlock occurs. It is also a problem as things are
    > theoretically going five times as slow.
    >
    > What setting am I missing? Is there another limit to threads? My settings
    > are mostly default settings.

    From the CF feature comparison
    ( http://www.adobe.com/products/coldfusion/pdfs/cf8_featurecomp.pdf):
    "CFTHREAD is limited to two additional spawned threads in Standard Edition."

    --
    Mack
    February 17, 2009
    Code attached.