Chuck,

On 3/7/25 5:38 PM, Chuck Caldarale wrote:

On 2025 Mar 7, at 16:06, Timothy Resh <mresh1...@gmail.com> wrote:

Dear Apache Support Team,

I'm running Tomcat 9.0.98 in the AWS Cloud. After several days of use, we
see that the CPU utilization eventually reaches 100% in the Cloud, but when
we RDP into the Server and look at the Task Manager, we do not see the
performance being impacted. However, users complain of severe slowdowns,
and sometimes, it stops responding.

We are trying to discover what may be the issue. We have an automated
process that will fire off a restart when it reaches 100% utilization. We
want to get more information by using a JPS, Jconsole, or some other Java
utility to capture additional information before the restart.  Do you have
any suggestions in capturing this information before restart?

> Try taking several full thread dumps a few seconds apart to see > where threads are executing. You can use a profiler if you have one,
the jcmd or jstack JDK utilities, or VisualVM (separate download, these days). The jconsole utility can also be used to look at each individual thread one by one, but that’s somewhat painful. VisualVM can let you determine quickly by eye which threads are burning up the CPU.

+1

With 11 web applications deployed, you may have some performance issues if you have a lot of scannable files and you are using reloadable="true" in META-INF/context.xml.

But a thread dump is going to be very informative.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to