Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 21088 invoked from network); 2 Jan 2003 18:22:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jan 2003 18:22:40 -0000 Received: (qmail 25586 invoked by uid 97); 2 Jan 2003 18:23:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 25550 invoked by uid 97); 2 Jan 2003 18:23:35 -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 25538 invoked by uid 98); 2 Jan 2003 18:23:34 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: jmong@adobe.com To: "Tomcat Users List" Message-ID: Date: Thu, 02 Jan 2003 10:21:37 -0800 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: en Subject: Re: RE: is this normal?? X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 I have to concur with the following observation. Try to check what the apache processes are doing. If you've enabled server-status on your box and have installed GET (as part of the perl LWP) grep for the pid GET /server-status | grep or access it http:///server-status On older tomcat versions (i.e. 3.2.1), it would seem that older clients (i.e. HTTP/1.0) would hang up on the POST part ie. POST /path/to/form/process.jsp HTTP/1.0 Typically my only recourse is to kill the offending process and/or restart tomcat and apache. kill -9 Hope that helps -Jan-Michael ----- Original Message ----- From: Ben Ricker Date: Thursday, January 2, 2003 9:56 am Subject: RE: is this normal?? > There is probably a problem going on there. I find it strange that you > have so much cumulative CPU time on the httpd processes. To me, they > look hung (in so far as I can tell). Since most apps are transactional > in nature (i.e., individual requests being fulfilled rather quickly), > you would expect to see the Apache processes using CPU, then > giving it > up rather quickly. Of course, other httpd processes will also pop > in and > out of CPU usage as individual requests pop in. > > How long has this Apache/Tomcat been running? You might try a > restart of > both and see if the same behavior comes right back or if it takes > time.You may have an issue in the app which is triggering a hang. > > Of course, on a "pretty busy web server", you may get such cumulative > times, but you should still see httpd processes popping in and out of > CPU usage as they handle their respective requests. If the same > PIDs sit > there pegging the CPU incessently, you most likely have an issue. > > HTH, > > Ben Ricker > > > On Thu, 2003-01-02 at 11:37, Randy Paries wrote: > > I have a pretty busy web server > > It has apache and tomcat > > What I am trying to find out if I have a problem or not > > I am linux guy but not at the tuning level > > When I do a top I get: These top 4 are always at the top > > 29616 apache 25 0 87368 78M 14256 R 46.8 7.8 388:13 java > > 2290 apache 25 0 87368 78M 14256 R 45.0 7.8 386:14 java > > 460 apache 24 0 6612 5112 4696 R 44.2 0.4 357:51 httpd > > 2180 apache 25 0 6656 5176 4696 R 39.9 0.5 359:28 httpd > > > > What makes me suspicious is that it is only after some time. > > > > When I do a sar, I have no idle time on the CPU > > > > I realize that this may be a linux or apache question, but I > think it > > has to do with tomcat as well > > > > Thanks for any help > > > > Randy > > > > > > -- > > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org>> For additional commands, e-mail: > > -- > Ben Ricker > Wellinx.com > > > -- > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org>For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: