Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35257 invoked from network); 2 Mar 2006 13:07:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Mar 2006 13:07:02 -0000 Received: (qmail 73511 invoked by uid 500); 2 Mar 2006 13:07:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73494 invoked by uid 500); 2 Mar 2006 13:07:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 73483 invoked by uid 99); 2 Mar 2006 13:07:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 05:07:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of David.Delbecq@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 05:07:33 -0800 Received: from [193.190.249.120] (bonnie.oma.be [193.190.231.71]) by bonnie.oma.be (8.11.1 (Revision 1.5) /8.11.1) with ESMTP id k22D7B904716 for ; Thu, 2 Mar 2006 13:07:11 GMT Message-ID: <4406EDE2.8050700@oma.be> Date: Thu, 02 Mar 2006 14:06:42 +0100 From: David Delbecq User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: WHY TOMCAT MEMORY FROM 1G TO 15M IN 10 MINUTES References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N JAVA_OPTS='-Xms256m -Xmx256m' <-- your tomcat memory should never reach 1G with this parameter! the tomcat memory drops severly from 1G to 15M <-- do you mean tomcat memory usage or tomcat free memory? jiang ying a ��crit : > Hi. When I run the TPCW bookstore application, I found the server > behave erratic. Experiment enviroment: Hardware: a client PC, two > server PCs. Each PC has two 1.59 GHz AMD Opteron, 2GB RAM, and a 30 GB > disk. One server machine runs theWeb server and application server > software, while the other contains the database. All the machines run > 2.4 Linux Kernel and are connected through a LAN of 1000Mb/s. Web > Server: Tomcat 5.5.12 Database: mysql 5.0.18 Client Workload > Generator: the freely available Java TPC-W implementation developed by > the PHARM research group at the University of Wisconsin-Madison > http://www.ece.wisc.edu/~pharm/tpcw.shtml The file descriptor limit > has been increased to 8192. The maxconnection of Tomcat is 1000. To > solve the heap exception of Tomcat, JAVA_OPTS='-Xms256m -Xmx256m' is > set. Q1: When I emulate 100 EBs ( the command line: java rbe.RBE -EB > rbe.EBTPCW1Factory 400 -OUT run1.m -RU 100 -MI 600 -RD 100 -WWW > http://tomcatserver:8080/ -CUST 288000 -DEBUG 2") , the tomcat memory > drops severly from 1G to 15M. Could anyone kindly tell me why the > tomcat cosumes so much memory? Thank you. > yours cylinder > > _________________________________________________________________ > �����������ѽ��н�������ʹ�� MSN Messenger: http://messenger.msn.com/cn > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org