2 Replies Latest reply on Feb 23, 2017 6:41 AM by trilogi

    CF10 maxThreads AJP connector

    trilogi Level 1

      Hi,

       

      System info: CF10 Update 14, Windows 2012 R2 and JDK 1.8.0_73

       

      I tried to configure connector (AJP1.3) to use more than 256 threads using param "maxThreads", in file server.xml. Also I configure workers.properties to match values properlly. But when I tried it, never exceeds from 256 (using JConsole.to monitorize connector)

       

      server.xml

      <Connector port="8012" protocol="AJP/1.3" redirectPort="8445" tomcatAuthentication="false" maxThreads="500" maxConnections="500" connectionTimeout="60000" />

       

      workers.properties

      worker.cfusion.max_reuse_connections=500

      worker.cfusion.connection_pool_size=500

      worker.cfusion.connection_pool_timeout=60

       

      I can view that the default protocol used by Tomcat is BIO that it's limited to 256 connections. Is it true?

       

      Can I use NIO protocol to use more than 256 threads?

       

      Thanks in advance.