Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: "current reuse count is 1 of max reuse connection 250 and total endpoint count 1"?

$
0
0

Perhaps this will help. Tomcat document in part says:

 

specify how many seconds JK should keep an inactive socket in cache before closing it. This property should be used to reduce the number of threads on the Tomcat web server. The default value zero disables the closing (infinite timeout).

 

refer:

 

http://tomcat.apache.org/connectors-doc/reference/workers.html


Changed mod_jk properties file EG:

 

ColdFusion10\config\wsconfig\N\
worker.list=cfusion
worker.cfusion.type=ajp13
worker.cfusion.host=localhost
worker.cfusion.port=8012
worker.cfusion.max_reuse_connections=250
worker.cfusion.connection_pool_timeout = 600


The connectors-doc reference also goes on to say:

 

You should keep this time interval in sync with the connectionTimeout attribute of your AJP connector in Tomcat's server.xml. Note however, that the value for mod_jk is given in seconds, the one in server.xml has to use milliseconds.

 

server.xml AJP section EG:

 

<!-- Define an AJP 1.3 Connector on port 8009
-->
<Connector port="8012" protocol="AJP/1.3"
redirectPort="8445"
tomcatAuthentication="false"
connectionTimeout="600000" />

 

Note if making syntax changes to  files then backup before applying change. Changes to properties will not take effect until webserver is restarted. Changes to xml do not take effect until CF restart.

 

You also might like this reference:

 

http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html

 

HTH, Carl.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>