Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 29870 invoked from network); 2 Jun 2003 20:19:02 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jun 2003 20:19:02 -0000 Received: (qmail 3622 invoked by uid 97); 2 Jun 2003 20:21:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 3615 invoked from network); 2 Jun 2003 20:21:18 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 2 Jun 2003 20:21:18 -0000 Received: (qmail 27216 invoked by uid 500); 2 Jun 2003 20:18:29 -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 27165 invoked from network); 2 Jun 2003 20:18:28 -0000 Received: from web42003.mail.yahoo.com (66.218.93.171) by daedalus.apache.org with SMTP; 2 Jun 2003 20:18:28 -0000 Message-ID: <20030602201834.67017.qmail@web42003.mail.yahoo.com> Received: from [196.2.33.11] by web42003.mail.yahoo.com via HTTP; Mon, 02 Jun 2003 13:18:34 PDT Date: Mon, 2 Jun 2003 13:18:34 -0700 (PDT) From: Jason Efting Subject: RE: -Xincgc, -Xms600, -Xmx600 To: Tomcat Users List In-Reply-To: <9C5166762F311146951505C6790A9CF8A6E5B5@US-VS1.corp.mpi.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1188503243-1054585114=:62306" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1188503243-1054585114=:62306 Content-Type: text/plain; charset=us-ascii Hi, I assume that I would just add -verbose:gc to my registry as another option? Unfortunatly I think I know where the source of my problem lie, one of the most just applications is writting pretty bad and doesn't ever close database connections, resultssets or set then to null. This app cannot be changed right now so I'll have to fix it somehow. Here is my plan: Add -verbose:gc to registry. Monitor output after adding -verbose:gc Use stress testing tools to generate a high volume of requests and monitor memory consumption and gc behariour. If all else fails, reload the box and install the latest version of tomcat, apache and the jdk. Any other ideas? Regards, Jason "Shapira, Yoav" wrote: Howdy, You can enable the -verbose:gc switch and see how often GC is occurring. Incremental GC will occur all the time pretty much. Note that your core problem may be deeper. Why did memory consumption hit 600MB? Is that expected? If so, you should ensure the heap has more allocated than what you expect to need. If this is not expected, find out what's holding on to data and modify the relevant code so that garbage collection can reclaim this space. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jason Efting [mailto:designquestions@yahoo.com] >Sent: Sunday, June 01, 2003 9:36 AM >To: tomcat-user@jakarta.apache.org >Subject: -Xincgc, -Xms600, -Xmx600 > >Hi, >Recently my tomcat (jvm rather) 4 server started running at 100% CPU >utilization and not service any request for long periods of time. This must >be due to the JVM doing garbase collection. > >I modified my system register appropriatly and but a few days later (when >memory consuption hit 600MB) tomcat started acting funny again. > >Here is what I did to modify my register: >1. Stop "Apache Tomcat" service >2. Stop "Apache" service. >3. Modify/Add registry keys. >4. Start "Apache Tomcat" service >5. Start "Apache" service > >Please not that I did not restart the entire box. > >Platform: >Windows 2000 Server SP3 >Tomcat 4 >1GB Physical RAM > >I cannot see any change I the servers behaviour since I modifeid the >registry. What would you suggest I do to test my new settings and ensure >that incremental garbage collection is happening? > >Thanks >Jason > > >--------------------------------- >Do you Yahoo!? >The New Yahoo! Search - Faster. Easier. Bingo. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. --0-1188503243-1054585114=:62306--