https://issues.apache.org/bugzilla/show_bug.cgi?id=47088

           Summary: Default conf/server.xml needs addition to fix constant
                    cpu usage with isapi_redirect.dll
           Product: Tomcat 5
           Version: 5.0.23
          Platform: PC
               URL: http://www.coderanch.com/t/86515/Tomcat/Tomcat-Connect
                    or-high-cpu-usage
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


See the following bbs page posted by Martin Thorpe:
http://www.coderanch.com/t/86515/Tomcat/Tomcat-Connector-high-cpu-usage

Tomcat results in massive unrelease cpu usage (100% on my machine and 25% on
Martin's machine).

This happens with the latest isapi_redirect-1.2.28.dll as well as older ones.

The following should be changed in the server.xml file that ships with Tomcat
(I would guess that this applies to Tomcat 6.x as well).

[Martin] changed this line, which was the default Tomcat shipped with:
    <!-- Define an AJP 1.3 Connector on port 8009 -->   
    <Connector port="8009"    
           enableLookups="false" redirectPort="8443" protocol="AJP/1.3"/>  
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" 
           enableLookups="false" redirectPort="8443" protocol="AJP/1.3"/>


To be this:
    <!-- Define an AJP 1.3 Connector on port 8009 -->   
    <Connector port="8009"    
           enableLookups="false" redirectPort="8443" protocol="AJP/1.3"  
   maxThreads="50" minSpareThreads="5" maxSpareThreads="20"  
           acceptCount="100" connectionTimeout="2000"/>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to