We use Coldfusion 9.01 on Linux Redhat 64bit with Apache. Our users regularly get the folllowing error message:
Application server is busy. Either there are too many concurrent requests or server still starting up, errorMsg: Application server is busy. Either there are too many concurrent requests or the server still is starting up
There is a lot of info on the web about this, with advice how to solve it, but we can not seem to get rid of this problem.
We have enabled metrics logging and nothing indicates that we are running out of threads at the time we get the error. Our thread config is as follows, in the instrance's JRUN.XML file
<service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService">
<attribute name="activeHandlerThreads">10</attribute>
<attribute name="backlog">500</attribute>
<attribute name="deactivated">false</attribute>
<attribute name="interface">*</attribute>
<attribute name="maxHandlerThreads">390</attribute>
<attribute name="minHandlerThreads">5</attribute>
<attribute name="port">51003</attribute>
<attribute name="threadWaitTimeout">300</attribute>
<attribute name="timeout">300</attribute>
When the error happens, our metrics reporting shows the following:
01/16 11:05:12 metrics Web threads (busy/total): 0/25 Sessions: 416 Total Memory=1046592 Free=597788
So the nr of requests (presumably 25, the nr of threads, not 100% sure) is higher than the activeHandlerThreads value (10), but not as high as the maxHandlerThreads value. The error is returned immediately, and not after the specified timeout of 5 minutes.
That is the puzzling part...
Is there any other set of configuration parameters to tweak as well?
Thanks for your help!