Author: remy.maucherat(a)jboss.com
Date: 2008-10-23 07:04:06 -0400 (Thu, 23 Oct 2008)
New Revision: 814
Modified:
trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
trunk/webapps/docs/changelog.xml
trunk/webapps/docs/config/http.xml
Log:
- maxThreads = 200 is the new default.
Modified: trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
===================================================================
--- trunk/java/org/apache/tomcat/util/net/AprEndpoint.java 2008-10-21 14:25:54 UTC (rev
813)
+++ trunk/java/org/apache/tomcat/util/net/AprEndpoint.java 2008-10-23 11:04:06 UTC (rev
814)
@@ -175,7 +175,7 @@
/**
* Maximum amount of worker threads.
*/
- protected int maxThreads = 40;
+ protected int maxThreads = 200;
public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
public int getMaxThreads() { return maxThreads; }
Modified: trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
===================================================================
--- trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java 2008-10-21 14:25:54 UTC (rev
813)
+++ trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java 2008-10-23 11:04:06 UTC (rev
814)
@@ -151,7 +151,7 @@
/**
* Maximum amount of worker threads.
*/
- protected int maxThreads = 40;
+ protected int maxThreads = 200;
public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
public int getMaxThreads() { return maxThreads; }
Modified: trunk/webapps/docs/changelog.xml
===================================================================
--- trunk/webapps/docs/changelog.xml 2008-10-21 14:25:54 UTC (rev 813)
+++ trunk/webapps/docs/changelog.xml 2008-10-23 11:04:06 UTC (rev 814)
@@ -88,6 +88,9 @@
<fix>
Handling for invalid AJP messages. (remm)
</fix>
+ <fix>
+ New maxThreads default to 200, up from 40. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
Modified: trunk/webapps/docs/config/http.xml
===================================================================
--- trunk/webapps/docs/config/http.xml 2008-10-21 14:25:54 UTC (rev 813)
+++ trunk/webapps/docs/config/http.xml 2008-10-23 11:04:06 UTC (rev 814)
@@ -300,7 +300,7 @@
<p>The maximum number of request processing threads to be created
by this <strong>Connector</strong>, which therefore determines the
maximum number of simultaneous requests that can be handled. If
- not specified, this attribute is set to 40. If an executor is associated
+ not specified, this attribute is set to 200. If an executor is associated
with this connector, this attribute is ignored as the connector will
execute tasks using the executor rather than an internal thread pool.</p>
</attribute>
Show replies by date