Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 50488 invoked from network); 21 Aug 2002 20:38:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Aug 2002 20:38:49 -0000 Received: (qmail 19864 invoked by uid 97); 21 Aug 2002 20:39:16 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 19833 invoked by uid 97); 21 Aug 2002 20:39:15 -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 19821 invoked by uid 98); 21 Aug 2002 20:39:14 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D63FA7B.1090701@devzerog.com> Date: Wed, 21 Aug 2002 21:39:23 +0100 From: Dev Zero G Ltd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020815 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Strange delays while Tomcat works References: <20020819183244.5812.qmail@web13903.mail.yahoo.com> <3D614764.4040503@devzerog.com> <3D6397B1.7080300@mail.more.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N We will try that, however - the problem seemed to have disappeared when the app was ran on Tomcat 4.1.9... Just out of curiosity - any idea why? Thanks in advance, Dev Zero G team http://devzerog.com Glenn Nielsen wrote: > This most likely is due to JVM garbage collection. You may need to tune > your java startup arguments to tune your memory usage and GC. > > When the JVM does GC the application (Tomcat) freezes until the GC is > complete. > > Try starting Tomcat with the java arg "-verbose:gc", this will add > data about TC to stdout. > > Regards, > > Glenn > > Dev Zero G Ltd wrote: > >> Hi, all! >> >> Introduction: we have Windows 2000 running SUN JDK 1.4.0, Tomcat >> 4.0.4 and our software, that uses Struts and taglibs. >> >> While requesting action from browser we have strange delays during whole >> request-serving process. In a words, action (servlet) receives a >> request, does some work, sends control to the JSP page, which prepares >> resulting HTML page for browser. This JSP page has a lot of custom >> tags instances (from jakarta-struts project and our own as well). >> Using debug output (an old method - System.out.println(...) ) we >> realized, that tomcat suddenly "hangs" up for some time - every time >> in different places of source code. Seems like it runs servlet (for >> less that 1 second), than makes some kind of preparing of JSP file (i >> think it's enough to compile servlet from it just one time - but not >> everytime, as we have) - for aproximately 5-6 seconds, and processes >> JSP page. The very strange behavior aoccurs right there - custom tags >> may be >> executed for 2,3,6 or even 10 seconds. In other time, after executing >> part of JSP page, debug output stops, and continues after 2-3 seconds. >> >> On computer we have stopped all background services, it has 1GHz >> Duron CPU and 512M RAM - so I think problem is not in hardware. May be >> some tuning of Tmcat conf files will help - some kind of buffer sizes >> etc. I couldn't find anything helpful not in server.xml, nor in >> web.xml of application. >> I'll repeat, such delays always occurs while procxessing the JSP >> page, almost every time - in different source location. But these >> delays realy slows whole project - so ANY KIND OF HELP AND/OR >> SUGGESTIONS would be taken in consideration with gratitude. >> >> Dev Zero G team >> http://devzerog.com -- To unsubscribe, e-mail: For additional commands, e-mail: