John,

Looks like you're hitting the connection_pool_size issue:

[Mon Apr 22 20:20:13.670 2013] [5012:5128] [info] 
ajp_process_callback::jk_ajp_common.c (2058): current reuse count is 7 
of max reuse connection 250 and total endpoint count 250

The 250 limit is the default limit for IIS, as mentioned here:
http://tomcat.apache.org/connectors-doc/reference/workers.html

Under the "connection_pool_size" attribute:
"For IIS the default value is 250 (before version 1.2.20: 10), for 
Netscape/Sun the default value is 1."

When these are maxed out, you'll get the "cannot connect to backend" and 
"failed to open socket" errors you're getting.

Unfortunately, updating the connectors won't help this situation. You'll 
need to adjust your connector settings.

You could also potentially review your code. See if there's any place 
you can reduce the number of calls you make to CF - like, if possible, 
combine redundant or similar calls into a single call, and make sure IIS 
is handling simple calls for static resources and such and not passing 
them back to CF for some reason.

Hope this helps!

Warm Regards,
Jordan Michaels
Vivio Technologies


On 04/25/2013 08:52 AM, John M Bliss wrote:
>
> Jordan (or anyone else  :-), here is a snip of my isapi_redirect.log from
> just before the last fail. From this, can you see what caused it? Dave's
> "non-updated connector" issue? Your "connection_pool_size" issue?
>
> http://www.brandiandjohn.com/codeshare/isapi_redirect.log
>
>
> On Tue, Apr 23, 2013 at 10:59 AM, Jordan Michaels <[email protected]>wrote:
>
>> ACF10 uses the isapi_redirect.dll for connecting Tomcat to IIS which is an
>> open-source connector developed by the good folks in the Tomcat project.
>> The error message is coming from the connector, so what you can do is
>> enable logging on the connector and it should tell you what the problem is.
>>
>> You can enable logging (or set the logging level to a be more informative)
>> by editing the connector properties file, usually located here:
>>
>> {CF-HOME}\config\wsconfig\{**magic-number}\isapi_redirect.**properties
>>
>> Specifically, look for the following entries:
>>
>> log_file = {CF-HOME}\config\wsconfig\{**magic-number}\isapi_redirect.**log
>> log_level = info
>>
>> If the default log_level of "info" doesn't indicate anything in the logs,
>> try setting the level higher. Appropriate values are documented here:
>>
>> http://tomcat.apache.org/**connectors-doc/reference/iis.**html<http://tomcat.apache.org/connectors-doc/reference/iis.html>
>>
>> ... but chances are good the problem is already being logged.
>>
>> If I had to guess, I would say you're bumping up against the default
>> "connection_pool_size" which unfortunately defaults to 250 for IIS. I've
>> seen this limit hit frequently on even low-use windows machines.
>>
>> The connection_pool_size attribute can be configured in the
>> workers.properties file, located here by default:
>>
>> {CF-HOME}\config\wsconfig\{**magic-number}\
>>
>> The connection_pool_size attribute is documented here:
>> http://tomcat.apache.org/**connectors-doc/reference/**workers.html<http://tomcat.apache.org/connectors-doc/reference/workers.html>
>>
>> And you can read about manually installing the connector for ACF10 here:
>> http://helpx.adobe.com/**coldfusion/kb/coldfusion10-**
>> iis-manual-connector-**configuration.html<http://helpx.adobe.com/coldfusion/kb/coldfusion10-iis-manual-connector-configuration.html>
>>
>> Hope this helps John! =)
>>
>> Warm Regards,
>> Jordan Michaels
>>
>>
>> On 04/22/2013 06:23 PM, John M Bliss wrote:
>>
>>>
>>> Since upgrading from ACF8 to ACF10, every once in a while (about once
>>> every
>>> 2-3 days?), under normal load, all .cfm reqs produce:
>>>
>>> Service Temporary Unavailable!
>>>
>>> The server is temporarily unable to service your request due to
>>> maintenance
>>> downtime or capacity problems. Please try again later.
>>>
>>> Jakarta/ISAPI/isapi_**redirector/1.2.32 ()
>>>
>>> Copyright Å  1999-2011 Apache Software Foundation
>>> All Rights Reserved
>>>
>>> ...I'm using IIS. Restarting the CF Server service makes the problem go
>>> away.
>>>
>>> Ideas?
>>>
>>>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355611
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to