tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Gregory" <gwea...@med.wayne.edu>
Subject RE: tomcat 4.1.24 processor utilization
Date Wed, 16 Apr 2003 17:38:20 GMT
What tool would you suggest to profile the app with?

I do develop, but I am primarily a DBA, not java guru(although I do wear that hat from time
to time!)

Also I would be the first to say error in application, except for the fact that only the admin
app and the manager app were loaded.

So I do not believe that there is an error in those cause otherwise there would be some crazy
amout of mail to this list regarding the same issue.

> -----Original Message-----
> From: James Lewis [mailto:james.lewis@goodtechnology.com]
> Sent: Wednesday, April 16, 2003 11:54 AM
> To: Tomcat Users List
> Subject: RE: tomcat 4.1.24 processor utilization
> 
> 
> Well, I think the best thing to do is find out what that java 
> process is
> doing.
> 
> I could lead a rousing chorus of "Profiler" if you'd like? :)
> 
> Seriously though, perhaps the best thing for you to do is to 
> profile your
> app. This way you will find out which method is causing your problems.
> 
> Cheers,
> 
> james
> 
> > -----Original Message-----
> > From: Weaver, Gregory [mailto:gweaver@med.wayne.edu]
> > Sent: 16 April 2003 16:49
> > To: Tomcat Users List
> > Subject: RE: tomcat 4.1.24 processor utilization
> >
> >
> > Hmmmm......can someone tell me what I did wrong in formulating
> > this request?
> > Did I offend the list gods or something? *prepares burnt offering
> > of 1's and 0's*
> >
> > I was hoping I could get some answers since I cannot search the
> > archives and according to the documentation I have everything
> > configured right. And it DOES run, it just does not run well.
> >
> > > -----Original Message-----
> > > From: Weaver, Gregory
> > > Sent: Tuesday, April 15, 2003 9:59 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: tomcat 4.1.24 processor utilization
> > >
> > >
> > > 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.GlobalResourcesLifecycle
> > > Listener" 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.Http11Proto
> > > col" 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.ErrorReportV
> > > alve" 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
> > >
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
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