Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-09 Thread Suvendu Sekhar Mondal
Hi Timothy,

Since you are running Tomcat on Windows Server 2016, I'll suggest to
capture OS level CPU utilization by threads and then tally them with the
threads in Java thread dumps to identify the cause.

Run Process Explorer as an administrator. Right-click the process, select
Properties, and then select the Threads tab. Sort by CPU column and note
thread ID. Note top CPU consuming thread IDs. Convert those numbers to hex
values and search it in the thread dumps.

On Sat, Mar 8, 2025, 5:31 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> Chuck,
>
> On 3/7/25 5:38 PM, Chuck Caldarale wrote:
> >
> >> On 2025 Mar 7, at 16:06, Timothy Resh  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
>
>


Shutting Down Tomcat (9.0.97) Service Throws System Error 1067

2025-03-09 Thread Kostyantyn Krakovych
Hi Team,


FYI - The issue with 'Shutting down tomcat service throws system error 1067' 
has been resolved in latest builds.

We started to see the issue since Tomcat version 9.0.90. Starting from 9.0.99 
it looks like the issue disappeared / was fixed.
We do not have the issue in 9.0.102.

https://lists.apache.org/thread/fgx0zsd23t0f4vv6vhsdczxbl73xhhzk





Best Regards,
Kostyantyn