From: Sven Vermeulen <sven.vermeulen@siphos.be>
To: gentoo-java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] CPU consumed by tomcat is always 100%
Date: Wed, 18 Mar 2009 17:20:34 +0100 [thread overview]
Message-ID: <6de0e7060903180920j55b26118gf8ae12f5941d1a4d@mail.gmail.com> (raw)
In-Reply-To: <d61c57300903171128t5be402fcoc4ccbebb4761c57d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
On Tue, Mar 17, 2009 at 7:28 PM, Jean-Noël Rivasseau <elvanor@gentoo.org>wrote:
> 1) Can you try to update to Tomcat 6 ?
>
> 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).
>
Try taking threaddumps (kill -3 <pid>) 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.
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
"samurai thread analyzer").
Threaddump information is usually stored in the native standard out of the
java process.
Wkr,
Sven Vermeulen
[-- Attachment #2: Type: text/html, Size: 1032 bytes --]
prev parent reply other threads:[~2009-03-18 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 17:33 [gentoo-java] CPU consumed by tomcat is always 100% Kaushal Shriyan
2009-03-17 18:28 ` Jean-Noël Rivasseau
2009-03-18 16:20 ` Sven Vermeulen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6de0e7060903180920j55b26118gf8ae12f5941d1a4d@mail.gmail.com \
--to=sven.vermeulen@siphos.be \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox