I wonder if that is going to help. The ELB timeout is only good enough for the connections between the 1. Client and ELB and 2. ELB and Backend Instance. In this case, only the Jenkins Master is behind the ALB and the connection between is fine! The Windows Agents mentioned here is not part of the ELB setup, but can be considered as a client connection to the ELB. I can try increasing the timeout, not sure if that is going to help.
On Wednesday, 3 June 2020 01:13:37 UTC-4, D'raj 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/13582539-55db-432f-9ed2-06aa686985db%40googlegroups.com.