Request timed out waiting for an available thread to run. CFMX 6.1

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Request timed out waiting for an available thread to run. CFMX 6.1

    We are getting this error on an internal database server running
    RedHat, MySQL 4.1.11 and ColdFusion 6.1.

    This server gets hit pretty hard at about 4pm, at which time it grinds
    to a screeching halt, filling the cf logfile with the following:

    ------------------
    java.lang.RuntimeException: Request timed out waiting for an available
    thread to run. You may want to consider increasing the number of active
    threads in the thread pool.
    at
    jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPo ol.java:125)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:448)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
    ------------------

    Users will eventually see a JRun error - server unavailable - all kinds
    of nastiness.

    I have scoured the intertubes for answers, and before anyone posts it,
    yes I have been here:
    [url]http://www.adobe.com/go/tn_19351[/url]

    Using that page as a guide, the xml files were updated but we are still
    experiencing the same problem. Many other pages exist, but they all
    post the same fix: update the xml files with new threadWaitTimeout
    values. This is what we have right now:

    --------------------
    <service class="jrun.servlet.jrpp.JRunProxyService"
    name="ProxyService">
    <attribute name="activeHandlerThreads">64</attribute>
    <attribute name="minHandlerThreads">1</attribute>
    <attribute name="maxHandlerThreads">1000</attribute>
    <attribute name="mapCheck">0</attribute>
    <attribute name="threadWaitTimeout">20</attribute>
    <attribute name="backlog">500</attribute>
    <attribute name="deactivated">false</attribute>
    <attribute name="interface">*</attribute>
    <attribute name="port">51010</attribute>
    <attribute name="timeout">300</attribute>
    -------------------
    and
    -------------------
    <service class="jrun.servlet.http.WebService" name="WebService">
    <attribute name="port">8500</attribute>
    <attribute name="interface">*</attribute>
    <attribute name="deactivated">true</attribute>
    <attribute name="activeHandlerThreads">64</attribute>
    <attribute name="minHandlerThreads">1</attribute>
    <attribute name="maxHandlerThreads">1000</attribute>
    <attribute name="mapCheck">0</attribute>
    <attribute name="threadWaitTimeout">150</attribute>
    <attribute name="backlog">500</attribute>
    <attribute name="timeout">300</attribute>
    </service>
    ---------------------

    Suggestions?

    hotani Guest

  2. Similar Questions and Discussions

    1. 'waiting on condition' in thread dump while CPU is 100%
      Every once and while, one of our servers has the CPU goto 100%, mostly jrun.exe. Even if we leave it alone for hours, it never resolves itself. ...
    2. Request timed out waiting for an available thread to run
      Running 6.1 on red hat 7.2 with MySQL 4.0.26 As of yesterday after roughly an hour sites appear to stop working and I see the following over and...
    3. CF: JRun Connector Proxy request timed out
      Every so often we enounter the following error: JRun Connector Proxy request timed out on our production CF 5 server. We are able to restart our...
    4. [PHP-DEV] request for thread safety advice
      nice for that would be some macros (somewhere in zend????) which help in the following way (the ext_skel should generate the code, too): a)...
    5. Request thread id
      Can anybody tell me how to get thread id for each request in a web application
  3. #2

    Default Re: Request timed out waiting for an available thread to run. CFMX 6.1

    I just made a change in cfadmin that might have an effect: the "Timeout
    Requests..." setting was not checked, so I checked that and set it to
    150. Not sure if it will do any good or not.

    hotani Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139