On October 7, I upgraded our Jenkins installation to version 2.462.3. It is running on OpenJDK version 21.0.4 on an Ubuntu based system (20.04).
After this upgrade everything was running fine, until we had to shutdown and restart the computer due to maintenance to the power supply on October 22. After we rebooted the computer, Jenkins became unresponsive (unable to load the GUI in the browser, the process taking 1600% CPU and logging a lot of StackOverflowExceptions and OutOfMemoryExceptions.
What I did after that, is clean up the entire configuration and start to rebuild it. That was Wednesday October 23. At the end of the day, Jenkins still seemed to be running correctly with the same configuration as it was running before I had to reboot the system. Unfortunately, the next day Jenkins was again completely unresponsive.
After that I have tried to run Docker instances of Jenkins, but they also become unresponsive.
Is there something else I could try to resolve this issue. When Jenkins become unresponsive, there are no jobs running and Jenkins is actually “idle”. It could be polling for source code changes, but that is the only thing I can think of right now.
When I start Jenkins and look at the log file, the log shows that Jenkins is up and running and after that the first thing that is logged is either an OutOfMemoryException or a StackOverflowException, so it is also unclear what is happening there.
I have also inspected the java threads and logged them and as far as I can see, most threads are just waiting. That is also expected, as the machine Jenkins is running on stays completely responsive, its just Jenkins that is unresponsive (agent nodes are not found, GUI cannot be loaded, etc…)
Is there anything else that I could try?
Sincerely,
Marcel