You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/04/24 04:32:54 UTC

DO NOT REPLY [Bug 47088] New: Default conf/server.xml needs addition to fix constant cpu usage with isapi_redirect.dll

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: dev@tomcat.apache.org
        ReportedBy: jwexler@mail.usa.com
                CC: jwexler@mail.usa.com


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47088] Default conf/server.xml needs addition to fix constant cpu usage with isapi_redirect.dll

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47088





--- Comment #2 from Rainer Jung <ra...@kippdata.de>  2009-05-18 10:24:29 PST ---
Could you please check, if you have the native Tomcat connector running (aka
known as tcnative or APR connector)?

If so, which version of Tomcat and tcnative are you using, and can you please
try once, whether the problem also goes away by disabling tcnative?

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47088] Default conf/server.xml needs addition to fix constant cpu usage with isapi_redirect.dll

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47088


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |isapi
            Version|5.0.23                      |1.2.28
            Product|Tomcat 5                    |Tomcat Connectors




--- Comment #1 from Mark Thomas <ma...@apache.org>  2009-05-16 12:55:44 PST ---
The root cause is an issue with the connector and this should be addressed
there. Moving to the right product.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47088] Default conf/server.xml needs addition to fix constant cpu usage with isapi_redirect.dll

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47088


Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #3 from Rainer Jung <ra...@kippdata.de>  2009-05-18 10:38:10 PST ---
Closing ticket as the problem was originally reported against Tomcat 5.0.
I can't reproduce the problem, there's no other such report (all others have
been associated with tcnative) and 5.0 is no longer under support.

Please reopen if you can reproduce with a recent 5.5.x or 6.0.x version of
Tomcat.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47088] Default conf/server.xml needs addition to fix constant cpu usage with isapi_redirect.dll

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47088


Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal




-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org