I run Jenkins as an webapps inside an Tomcat on a Ubuntu machine.
In case one Jenkins build task take longer than one hour the tomcat is shutting down. (Without any user action)
If I exclude some work from the gradle build task (don’t build all Android product flavors), which reduce the build time less then one hour it work fine. (This is not the solution because I need all product flavors)
Some Environment information :
- Linux Ubuntu 5.15.x
- The Linux machine has enough memory
- The Tomcat has enough memory (JVM)
- The Tomcat is started at boot time systemd
- The Jenkins build task start an gradle build file with it own GradleDaemon (Version 8.2)
- No other users working on the machine
I have no idea why the Tomcat is shutting down.
Any idea how to find the reason why the Tomcat is shuting down ?