Ask a Question related to Coldfusion Server Administration, Design and Development.
-
hotani #1
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
-
'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. ... -
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... -
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... -
[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)... -
Request thread id
Can anybody tell me how to get thread id for each request in a web application -
hotani #2
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



Reply With Quote

