tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Gregory" <gwea...@med.wayne.edu>
Subject tomcat 4.1.24 processor utilization
Date Tue, 15 Apr 2003 13:59:29 GMT
Last night we upgraded our production server from 4.0.6 to 4.1.24.
We are having a few problems with our apps not working correctly, but that is not our problem......

Orur issue here is that the processor utilization is over 90% all the time from tomcat now
where in 4.0.6 it was around 40-50%.

There seems to be one java process that is eating up over 60% of the processor all of the
time.

Is there something wrong in my configuration? I cannot seem to track down what is wrong here.....


Here is my server.xml file:
-----------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='utf-8'?>
<Server className="org.apache.catalina.core.StandardServer" debug="0" port="8085" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
  <GlobalNamingResources>
    <!--
    <Environment name="simpleValue" override="true" type="java.lang.Integer" value="30"/>
    -->
    <Resource auth="Container" description="User database that can be updated and saved"
name="UserDatabase" scope="Shareable" type="org.apache.catalina.UserDatabase"/>
    <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="100"
bufferSize="2048"
               compression="off" connectionLinger="-1" connectionTimeout="20000" debug="0"

               disableUploadTimeout="true" enableLookups="false" maxKeepAliveRequests="100"

               maxProcessors="75" minProcessors="5" port="80" 
               protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" proxyPort="0"

               redirectPort="443" scheme="http" secure="false" tcpNoDelay="true" 
               useURIValidationHack="false">
      <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
    </Connector>
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="40" bufferSize="2048"

               compression="off" connectionLinger="-1" connectionTimeout="20000" debug="0"

               disableUploadTimeout="true" enableLookups="false" maxKeepAliveRequests="100"

               maxProcessors="75" minProcessors="5" port="443" proxyPort="0" 
               scheme="https" secure="true" tcpNoDelay="true" useURIValidationHack="false">
      <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" clientAuth="false"
protocol="TLS"/>
    </Connector>
    <Engine className="org.apache.catalina.core.StandardEngine" debug="0" defaultHost="localhost"

            mapperClass="org.apache.catalina.core.StandardEngineMapper" name="Standalone">
      <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" autoDeploy="true"

            configClass="org.apache.catalina.startup.ContextConfig" 
            contextClass="org.apache.catalina.core.StandardContext" debug="0" deployXML="true"

            errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" liveDeploy="true"

            mapperClass="org.apache.catalina.core.StandardHostMapper" name="localhost" unpackWARs="true">
        <DefaultContext cookies="true" reloadable="true">
          <Resources className="org.apache.naming.resources.FileDirContext"/>
        </DefaultContext>
        <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true"

                 charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true"

                 crossContext="false" debug="0" displayName="Tomcat Manager Application" 
                 docBase="../server/webapps/manager" 
                 mapperClass="org.apache.catalina.core.StandardContextMapper" path="/manager"

                 privileged="true" reloadable="false" swallowOutput="false" useNaming="true"

                 wrapperClass="org.apache.catalina.core.StandardWrapper">
          <ResourceLink global="UserDatabase" name="users" type="org.apache.catalina.UserDatabase"/>
        </Context>
        <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true"

                 charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true"

                 crossContext="false" debug="0" displayName="Tomcat Administration Application"

                 docBase="../server/webapps/admin" mapperClass="org.apache.catalina.core.StandardContextMapper"

                 path="/admin" privileged="true" reloadable="false" swallowOutput="false"
useNaming="true" 
                 wrapperClass="org.apache.catalina.core.StandardWrapper">
        <Logger className="org.apache.catalina.logger.FileLogger" debug="0" directory="logs"
                prefix="localhost_admin_log." suffix=".txt" timestamp="true" verbosity="1"/>
        </Context>
        <Logger className="org.apache.catalina.logger.FileLogger" debug="0" directory="logs"

                prefix="localhost_log." suffix=".txt" timestamp="true" verbosity="1"/>
      </Host>
      <Logger className="org.apache.catalina.logger.FileLogger" debug="0" directory="logs"

              prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="1"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" 
             resourceName="UserDatabase" validate="true"/>
    </Engine>
  </Service>
</Server>
------------------------------------------------------------------------------------------

Gregory J. Weaver
Database Analyst II - Wayne State University
30 E. Canfield Room 230
Detroit, MI 48201
(313)-580-1570


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message