Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 90592 invoked from network); 2 Apr 2004 04:38:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 04:38:01 -0000 Received: (qmail 63934 invoked by uid 500); 2 Apr 2004 04:37:20 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63915 invoked by uid 500); 2 Apr 2004 04:37:20 -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 63898 invoked from network); 2 Apr 2004 04:37:20 -0000 Received: from unknown (HELO web20210.mail.yahoo.com) (216.136.226.65) by daedalus.apache.org with SMTP; 2 Apr 2004 04:37:20 -0000 Message-ID: <20040402043730.30620.qmail@web20210.mail.yahoo.com> Received: from [66.189.35.158] by web20210.mail.yahoo.com via HTTP; Thu, 01 Apr 2004 20:37:30 PST Date: Thu, 1 Apr 2004 20:37:30 -0800 (PST) From: Peter Lin Subject: Re: Tomcat Site slow and stops responding after certain number of threads To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N windows by default allocates 1mb of memory per thread. 107 threads shouldn't cause any problems, unless your system only has 128mb of ram. From first hand experience, once the allocated memory reach half the physical ram, windows starts to disk cache. Once that happens, GC performance gets worse. In fact in .NET 1.0, disk caching causes heap fragmentation and memory leaks. If disk cache is kicking in, the performance issues may be the result of heap fragmentation, which kills GC performance. peter lin --- sp k wrote: > We have a Tomcat site which becomes terribly slow > and then stops responding > after the thread count in windows task manager > reaches 107 threads. We are > using Tomcat 4.1.27 on windows 2000 machine. Our > load tests could never > emulate this behavior that occurs under real load. > When the site crashes the > memory consumption of the site is less than the > initial max heap size set > for it. > > Did any one ever face similar issues, we are baffled > as to why 107 threads? > Is related to the connector threads or JVM's garbage > collection? > > Does anyone have any idea why the site would crash > at the same thread level? > > Thanks, > Prasad > > _________________________________________________________________ > Get rid of annoying pop-up ads with the new MSN > Toolbar � FREE! > http://toolbar.msn.com/go/onm00200414ave/direct/01/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org