Service randomly restarting
We are currently running a couple of java services inside container apps. Today I noticed that one of the services had restarted, in the middle of the night. The services had just been sitting idle for at least 6 hours or so. Then it restarted and the system logs gave me the following:
------------
KEDAScalerFailed
2022-12-16 02:55:06 +0000 UTC
rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp 10.0.193.229:4050: i/o timeout”**
------------
The service itself had this console log:
------------
2022-12-16 02:55:50.964 [SpringApplicationShutdownHook] INFO o.e.j.server.handler.ContextHandler - Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@54033a65{application,/,[file:///tmp/jetty-docbase.8080.4121420250697478275/, jar:file:/app.jar!/BOOT-INF/lib/swagger-ui-4.15.5.jar!/META-INF/resources],STOPPED}
2022-12-16 02:55:50.954 [SpringApplicationShutdownHook] INFO org.eclipse.jetty.server.session - node0 Stopped scavenging
2022-12-16 02:55:50.956 [SpringApplicationShutdownHook] INFO o.e.j.s.h.ContextHandler.application - Destroying Spring FrameworkServlet 'dispatcherServlet'
------------
Does anyone know why this happened? And what does the system log mean?