tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40606] New: - Excessive CPU usage
Date Tue, 26 Sep 2006 07:21:33 GMT
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=40606>.
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=40606

           Summary: Excessive CPU usage
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gturski@interia.pl


Install tomcat5.5 and APR binaries, apache httpd 2.0 or 2.2 add appropriate 
mod_jk. 

Add following lines to httpd.conf:
    LoadModule jk_module modules/mod_jk-apache-2.2.3.so
    JkWorkersFile       conf/workers.properties
    JkLogFile           logs/mod_jk.log
    JkLogLevel          error
    JkLogStampFormat    "[%a %b %d %H:%M:%S %Y] "
    JkOptions           +ForwardKeySize +ForwardURICompat -ForwardDirectories
    JkRequestLogFormat  "%w %V %T"
    JkShmFile           logs/jk.shm
    JkMount /*          jvm1

Create following workers.properties in apache conf directory
    worker.list=jvm1
    worker.jvm1.type=ajp13
    worker.jvm1.host=localhost
    worker.jvm1.port=8009

In server.conf modify default engine - add jvmRoute="jvm1" eg.
    <Engine name="Catalina" defaultHost="localhost" jvmRoute=" jvm1">

Start apache, start tomcat. Open browser, enter: http://localhost, then select 
any tomcat context for example jsp-examples. Now you can see on task manager 
constant 100% CPU usage generated by Tomcat's java. This happens for java 
1.5.0_08 and java 1.4.2_12 both, and for Internet Explorer and Mozilla.

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


Mime
View raw message