Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 73200 invoked from network); 16 Apr 2003 15:55:35 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Apr 2003 15:55:35 -0000 Received: (qmail 21710 invoked by uid 97); 16 Apr 2003 15:57:31 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 21703 invoked from network); 16 Apr 2003 15:57:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Apr 2003 15:57:30 -0000 Received: (qmail 71140 invoked by uid 500); 16 Apr 2003 15:55:06 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 71055 invoked from network); 16 Apr 2003 15:55:05 -0000 Received: from codpiece.goodtech.co.uk (HELO mercury.goodtechnology.net) (217.158.189.253) by daedalus.apache.org with SMTP; 16 Apr 2003 15:55:05 -0000 Received: from [192.168.1.188] (helo=jameslewispc) by mercury.goodtechnology.net with smtp (Exim 3.35 #7) id 195pFa-0006Xb-00 for tomcat-user@jakarta.apache.org; Wed, 16 Apr 2003 16:55:06 +0100 From: "James Lewis" To: "Tomcat Users List" Subject: RE: tomcat 4.1.24 processor utilization Date: Wed, 16 Apr 2003 16:54:10 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: > > -------------------------------------------------------------- > > --------------------------------------------------------- > > > > > debug="0" port="8085" shutdown="SHUTDOWN"> > > > className="org.apache.catalina.mbeans.ServerLifecycleListener" > > debug="0" jsr77Names="false"/> > > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycle > > Listener" debug="0"/> > > > > > > > scope="Shareable" type="org.apache.catalina.UserDatabase"/> > > > > > > factory > > > > org.apache.catalina.users.MemoryUserDatabaseFactory > > > > > > pathname > > conf/tomcat-users.xml > > > > > > > > > className="org.apache.catalina.core.StandardService" > > debug="0" name="Tomcat-Standalone"> > > > 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"> > > > className="org.apache.catalina.net.DefaultServerSocketFactory"/> > > > > > 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"> > > > className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory > > " clientAuth="false" protocol="TLS"/> > > > > > className="org.apache.catalina.core.StandardEngine" debug="0" > > defaultHost="localhost" > > > > mapperClass="org.apache.catalina.core.StandardEngineMapper" > > name="Standalone"> > > > 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"> > > > > > className="org.apache.naming.resources.FileDirContext"/> > > > > > 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"> > > > type="org.apache.catalina.UserDatabase"/> > > > > > 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"> > > > className="org.apache.catalina.logger.FileLogger" debug="0" > > directory="logs" > > prefix="localhost_admin_log." suffix=".txt" > > timestamp="true" verbosity="1"/> > > > > > className="org.apache.catalina.logger.FileLogger" debug="0" > > directory="logs" > > prefix="localhost_log." suffix=".txt" > > timestamp="true" verbosity="1"/> > > > > > className="org.apache.catalina.logger.FileLogger" debug="0" > > directory="logs" > > prefix="catalina_log." suffix=".txt" > > timestamp="true" verbosity="1"/> > > > className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" > > resourceName="UserDatabase" validate="true"/> > > > > > > > > -------------------------------------------------------------- > > ---------------------------- > > > > 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