Hi, This is the server.xml. Sorry for not replying promptly but I am "multitasking" in a lot of things :(
<Server port="18085" shutdown="SHUTDOWN"> <!-- Comment these entries out to disable JMX MBeans support used for the administration web application <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> --> <GlobalNamingResources> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <Service name="Catalina"> <Connector port="8443" maxThreads="5000" acceptCount="20000" enableLookups="false" connectionTimeout="150000" maxPostSize="1048576" redirectPort="-1" scheme="https" sslProtocol="TLS" clientAuth="false" keystoreType="PKCS12" truststoreType="PKCS12" protocols="TLSv1" SSLImplementation="com.ssl.SSL_Implementation" /> <Connector port="8444" maxThreads="5000" acceptCount="20000" enableLookups="false" connectionTimeout="150000" maxPostSize="1048576" redirectPort="-1" scheme="https" sslProtocol="TLS" clientAuth="want" keystoreType="PKCS12" truststoreType="PKCS12" protocols="TLSv1" SSLImplementation="com.ssl.SSL_Implementation_2" /> <Engine name="Catalina" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> </Engine> </Service> </Server> ________________________________ From: Christopher Schultz <ch...@christopherschultz.net> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, January 17, 2013 6:57 PM Subject: Re: Can not understand how maxThreads of Connectors works -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 André, On 1/17/13 3:32 AM, André Warnier wrote: > Quite a few messages ago, I asked the OP if he could copy/paste > his server.xml. Yes. Getting information from the OP seems to be difficult. > The reason was that if his config uses an Executor, then I believe > the Threads settings in the Connectors don't really matter, do they > ? Correct: setting executor="someExecutor" means that any executor-related settings on the <Connector> will be ignored in favor of those set in the <Connector>. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlD4LX4ACgkQ9CaO5/Lv0PAzegCgtxrX5Yx2V0UlEiDI1hK/vK+H u20AmwWQz6+LToA3uPSSb8V1+kdPMY3N =9fQb -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org