Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java <gentoo-java@g.o>
From: Sven Vermeulen <sven.vermeulen@...>
Subject: Re: CPU consumed by tomcat is always 100%
Date: Wed, 18 Mar 2009 17:20:34 +0100
<div class="gmail_quote">On Tue, Mar 17, 2009 at 7:28 PM, Jean-Noël Rivasseau <span dir="ltr">&lt;<a href="mailto:elvanor@g.o">elvanor@g.o</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) Can you try to update to Tomcat 6 ?<br><br>2) Did you deploy any web-app in your container? If yes, the problem is most likely due to your web-app (infinite loop most probably).<br></blockquote><div><br>Try taking threaddumps (kill -3 &lt;pid&gt;)  and watch the output. Perhaps you can see from the dump where in your code (assuming it is the web application code) the issue is.<br>
<br>If you take several dumps sequentially (with an interval of a few seconds) you can try to parse the output with tools such as Samurai (Google for &quot;samurai thread analyzer&quot;).<br><br>Threaddump information is usually stored in the native standard out of the java process.<br>
<br>Wkr,<br>  Sven Vermeulen<br></div></div>
References:
CPU consumed by tomcat is always 100%
-- Kaushal Shriyan
Re: CPU consumed by tomcat is always 100%
-- Jean-Noël Rivasseau
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: CPU consumed by tomcat is always 100%
Next by thread:
no request to access log
Previous by date:
Re: CPU consumed by tomcat is always 100%
Next by date:
no request to access log


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.