tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From calder <calder....@gmail.com>
Subject Re: Having trouble with tomcat 7 installation on RHEL 7.8 power pc
Date Wed, 01 Jul 2020 22:24:20 GMT
On Wed, Jul 1, 2020, 15:32 Sean Neeley <sean.neeley@producepro.com> wrote:

> I tried switching from Java 1.8 to Java 11 to see if that makes a
> difference.  Now the VM Thread is using a lot less CPU:
>
>   PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
>  2320 tomcat    20   0 4659072  47872  19904 R 99.9  0.6  22:15.16 java
>  2326 tomcat    20   0 4659072  47872  19904 R  4.6  0.6   0:56.43 VM
> Thread
>
> I tried running jstack on the processes, but I get this:
>
> 2320: Unable to open socket file: target process not responding or HotSpot
> VM not loaded
>

Did you attempt to run the command as the "Tomcat user"?

BTW,  Oracle recommends the use of "jcmd" over "jstack". Personally, I'd
give Mission Control/Flight Recorder a go.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message