DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40967>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40967 Summary: IIS connector does not auto-detect threads in IIS process to size connection_pool Product: Tomcat 5 Version: 5.0.0 Platform: PC OS/Version: Windows Server 2003 Status: NEW Severity: major Priority: P2 Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The IIS connector currently hard codes the default connection_pool_size to 10, which matches the PWS installed on NT Workstation and Win2k/XP Pro. The Apache 2 connector in comparison auto detects the max threads per child process on all platforms (although the docs don't indicate that this works for mpm_winnt when it does). Given that the docs are somewhat vague about the impacts of getting this wrong (e.g. a silently dropped TCP connection with only a warn level error message to indicate failure), this is a dangerous situation. The attached patches: - Reports a failure to obtain an endpoint as an error (which it is) with the recommendation that connection_pool_size be corrected. - Detects the current operating system and calculates the number of threads in the IIS child process (this being the value of PoolThreadLimit, which is either specified in the registry or calculated as 2*MB Ram on the machine capped at 256). The default connection_pool_size is then set to match the max number of threads that IIS will allocate. - Document the new behaviour for the IIS connector, and clarify the docs for Apache connectors, especially when used with mpm_winnt. The PoolThreadLimit calculation (which applies to IIS 5 and 6) was obtained from http://technet2.microsoft.com/WindowsServer/en/library/bd33bd8c-321a-4c28-8cb9-92ecc1b3b4381033.mspx?mfr=true This has been tested on XP Pro and Windows 2003 Server Enterprise Edition. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]