Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 80047 invoked from network); 5 Nov 2007 02:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 02:23:00 -0000 Received: (qmail 88362 invoked by uid 500); 5 Nov 2007 02:22:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 88338 invoked by uid 500); 5 Nov 2007 02:22:35 -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 88327 invoked by uid 99); 5 Nov 2007 02:22:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2007 18:22:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.54.246.73 as permitted sender) Received: from [65.54.246.73] (HELO bay0-omc1-s1.bay0.hotmail.com) (65.54.246.73) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 02:22:37 +0000 Received: from hotmail.com ([65.54.162.82]) by bay0-omc1-s1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 4 Nov 2007 18:22:16 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Nov 2007 18:22:16 -0800 Message-ID: Received: from 24.63.65.195 by BAY108-DAV10.phx.gbl with DAV; Mon, 05 Nov 2007 02:22:11 +0000 X-Originating-IP: [24.63.65.195] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com From: "Martin Gainty" To: "Tomcat Users List" References: <7b140ee20711041725v67c3a212nd8a0ff176f3934e7@mail.gmail.com> Subject: Re: Tomcat causing high CPU load Date: Sun, 4 Nov 2007 21:20:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 05 Nov 2007 02:22:16.0480 (UTC) FILETIME=[AF0E7A00:01C81F52] X-Virus-Checked: Checked by ClamAV on apache.org what happens in jconsole over that period of time? M- ----- Original Message ----- From: "Sai Bobba" To: Sent: Sunday, November 04, 2007 8:25 PM Subject: Tomcat causing high CPU load > Hi, > > I'm using the following: > > JDK1.5 > Tomcat 6 > SQL Server 2000 > Server running on Windows 2000 > > The web app deployed consists of: an application form filled in by the > prospective student, a servlet that gets the form parameters > (>60), processes them, and saves the data input by the user to several > tables in the database. Processing of the form data involves applying > testing the data against admission criteria. > When the web ap was first deployed some months ago, we had the problem that > some of the input by the users was too large for the space allocated in the > corresponding column in the db table - this caused SQLExceptions to be > thrown each time this happened. At the same time we noticed that many times > a day the CPU load on the server machine was up at 60% - 90+% - Tomcat was > responsible for this CPU load almost exclusively - the other processes > running on the machine were taking <3%. This meant having to restart Tomcat > several times a day. At first we thought this was related to the db > insertion problem. We fixed the db issue so that no more exceptions are > thrown, but we still find the CPU load up at >60% at least once a day - > Tomcat responsible again. > Another thing I noticed in testing the app was that if after I submitted an > application I hit the 'Back' button on the browser and then submitted again, > app would hang, and the CPU load on the server machine would rise to >60%. I > tried this several times, with the same result each time. However, it was > possible to submit an aplication from a different browser even when the CPU > load was high. Oddly, when I did this test on my local machine I didn't have > this problem. > I hope I've laid out the situation clearly. My searches on the web for this > sort of problem have yielded no solution. > If anybody has had this problem and fixed it, or has an insight into what > the problem might be, I'd greatly appreciate hearing about it! > > Many thanks! > > bob > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org