Author: mturk
Date: Tue Nov 14 08:18:45 2006
New Revision: 474850
URL: http://svn.apache.org/viewvc?view=rev&rev=474850
Log:
Increase default IIS thread count to 250 as in Apache httpd.
Modified:
tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
tomcat/connectors/trunk/jk/xdocs/changelog.xml
Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?view=diff&rev=474850&r1=474849&r2=474850
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Tue Nov 14 08:18:45
2006
@@ -43,6 +43,13 @@
#define VERSION_STRING "Jakarta/ISAPI/" JK_VERSTRING
#define SHM_DEF_NAME "JKISAPISHMEM"
#define DEFAULT_WORKER_NAME ("ajp13")
+
+/*
+ * This is default value found inside httpd.conf
+ * for MaxClients
+ */
+#define DEFAULT_WORKER_THREADS 250
+
/*
* We use special headers to pass values from the filter to the
* extension. These values are:
@@ -1194,8 +1201,7 @@
*/
jk_shm_open(SHM_DEF_NAME, JK_SHM_DEF_SIZE, logger);
- /* 10 is minimum supported on WINXP */
- jk_set_worker_def_cache_size(10);
+ jk_set_worker_def_cache_size(DEFAULT_WORKER_THREADS);
/* Logging the initialization type: registry or properties file in virtual
dir
*/
Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/changelog.xml?view=diff&rev=474850&r1=474849&r2=474850
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/changelog.xml Tue Nov 14 08:18:45 2006
@@ -26,6 +26,10 @@
<br />
<subsection name="Native">
<changelog>
+ <update>
+ IIS: Increase default thread count to 250, so its the same as Apache
Httpd
+ default configuration. (mturk)
+ </update>
<fix>
<bug>40966</bug>: Fix socket descriptor checks on windows. (mturk)
</fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]