Thanks for the response! I did check the remoting logs; all I see is below
Jun 04, 2020 1:57:27 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Jun 04, 2020 1:57:27 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to <myci.example.com>:50000 Jun 04, 2020 1:57:27 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP4-connect Jun 04, 2020 1:57:27 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Remote identity confirmed: 65:f3:2a:9c:fc:ec:55:9f:49:de:49:a0:bf:27:ff:93 Jun 04, 2020 1:57:28 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Jun 04, 2020 1:59:15 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated There are no logs that say what is triggering the termination of service. However, it comes back online after some time. On Thursday, 4 June 2020 07:07:11 UTC-4, monger_39 wrote: > > have you looked on the agent in the remoting logs ? > I've had (and still have) the same issue. Often I see in the remoting logs > on the node an error like > "Reader thread killed by OutOfMemoryError > java.lang.OutOfMemoryError: unable to create new native thread > " > which btw does not necessarily mean ''out of memory". It apparently can > also indicate 'unable to create new thread'. > Exact reason(s) for the latter are not 100% clear to me still. > I'm very curious/anxious to have more info here too... > On Wednesday, June 3, 2020, 07:40:53 AM GMT+2, D'raj <[email protected] > <javascript:>> wrote: > > > try increasing aws elb Idle timeout, by default its 60 sec > > > On Saturday, 30 May 2020 03:22:47 UTC+5:30, Vinod Krishna wrote: > > Hi, > > > We have around 10 Jenkins Agents, each running on its own Windows 2016 EC2 > instance. Java_slave is running as a service. The Jenkins master runs on a > separate Amazon Linux instance. We are able to establish connectivity > between the Master and Agents and jobs are running fine. > > However, for some reason, the Service goes offline at different intervals > and comes back online. This is a repeated behavior and we are not able to > find many logs from the Windows Event Viewer , except that it Says "Jenkins > Slave stopping" . and the service comes back online. We installed NewRelic > APM Agent to the server to check the Java metrics and there is minimal Heap > consumption. The Java versions of both the Agent and Server are the same ( > jdk1.8.0_211). We are not able to find the root cause of the Service being > stopped abruptly and Jobs running on them gets killed. > > > “"windows agent was marked offline: Connection was broken: > java.nio.channels. ClosedChannelException"” > > > Thanks in advance. > > Vinod > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/jenkinsci-users/f7c35898-4a54-4e1c-b199-97b5bd43db77%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/f7c35898-4a54-4e1c-b199-97b5bd43db77%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c93ad5d2-3aa6-481e-956e-83513a9dc9ad%40googlegroups.com.
