Erel, It finally happened again and as per your suggestion, I ran "jstack -F -l <pid>" to connect to a
hung process. This is what I got.
luser@wais:~$ sudo /opt/jdk/jdk1.8.0_241/bin/jstack -F -l 9598
Attaching to process ID 9598, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 25.241-b07
Deadlock Detection:
No deadlocks found.
However running "jstack -l <pid>" to connect to a
running process, gives me a stack dump, which I have uploaded to this message (
jstack.txt).
I am running Java Version 1.8.0_241-b07.
As mentioned earlier, the 1-minute "debug" timer that I added to the code is enabled at App start and simply displays a log message every minute. There is No code to disable the timer anywhere in the program, but yet the logs show that the timer has
also stopped when the program "hangs". That's what is so puzzling about this issue and leads me to conclude that the program has hung.
I'll leave the program in this state without restarting until I hear from you.
Thanks for your help.