JVM stuck for seconds to hours

94 views Asked by At

I see that my applications (running on a Linux VM) seem to freeze for minutes up to hours!

In that time it is not responsive, even VisualVM loses the connection during that time. And also to jstack the JVM does not response.

My code is full of log-statements due to that problem. Somewhere in my code I even have two log statements next to each other.

logger.error("DEBUG 1");
logger.error("DEBUG 2");

These lines appear 2 minutes(!) apart in the log file.

The Java version I use is

openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM (build 17.0.8.1+1, mixed mode)

Any ideas how I could determine the problem here?

0

There are 0 answers