Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 51324 invoked from network); 30 Jul 2003 18:57:48 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jul 2003 18:57:48 -0000 Received: (qmail 3986 invoked by uid 97); 30 Jul 2003 19:00:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 3979 invoked from network); 30 Jul 2003 19:00:27 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jul 2003 19:00:27 -0000 Received: (qmail 50135 invoked by uid 500); 30 Jul 2003 18:57:33 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 50122 invoked from network); 30 Jul 2003 18:57:32 -0000 Received: from web20708.mail.yahoo.com (216.136.226.181) by daedalus.apache.org with SMTP; 30 Jul 2003 18:57:32 -0000 Message-ID: <20030730185737.33596.qmail@web20708.mail.yahoo.com> Received: from [216.35.131.141] by web20708.mail.yahoo.com via HTTP; Wed, 30 Jul 2003 11:57:37 PDT Date: Wed, 30 Jul 2003 11:57:37 -0700 (PDT) From: Rau NF Subject: Re:to: Tomcat under load problems - Use 'java -Xss' to increase default stack size To: tomcat-dev@jakarta.apache.org 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: daedalus.apache.org 1.6.2 0/1000/N Yes - Tomcat is running as an http server too. We are running load tests to see if we can reproduce this problem. I==============================================================Date: Tue, 29 Jul 2003 21:48:23 -0500 From: Glenn Nielsen Subject: Re: Tomcat under load problems - Use 'java -Xss' to increase default stack siz Content-Type: text/plain; charset=us-ascii; format=flowed I have been running Tomcat in production on serveral Solaris servers with -Xss reduced down to 128K for years. This is for jdk 1.3.1. We have had no problems with exceeding the stack size. I am not familiar enough with linux to get very specific. First thing is to see if it is application related. Try load testing Tomcat using some example applications to see if it still has stack problems. If there are no problems, then use OptimizeIt or JProbe to profile your application. That may give you some hints at what to look at. Is Tomcat being run as the http server or do you have it behind apache so apache can serve static content? You might try switching JVM's to see if that changes anything. Just a few stabs in the dark. Others who use linux may have more specific ideas on how to troubleshoot this. Regards, Glenn Rau NF wrote: > Hi - My apologies for posting on this but we really > need some help on this. > > We have seen this problem showing up on Tomcat 4.1.24 > (/JDK 1.4.2 from Sun/Linux) after running tomcat for a > few hours. > > Fatal: Stack size too small. Use 'java -Xss' to > increase default stack size. > > We have set the stack size to 1024k (and also 1536k) > and we still get this error. Heap size is -Xms/Xmx 1.5 > Gb. We are running RedHat 8.x (Linux 2.4.18-19.8.0smp > #1 SMP Thu Dec 12 04:36:25 EST 2002 i686 i686 i386 > GNU/Linu) > > Not sure if this is an application bug (recursion) or > something to do with Tomcat. There is no other error > message/exception in any of the tomcat log files. > > Is there a way to track this down by enabling verbose > Tomcat logging ? Any pointers will be *****very, > very***** helpful > > Thanks > > S Rau > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org