-
Bug
-
Resolution: Unresolved
-
Critical
-
Jenkins: 2.46.2
Operating System: Centos 6.9
Jenkins Plugins:
Plain Credentials Plugin:1.4
Google Cloud Storage plugin:0.13
Jenkins description setter plugin:1.10
Jenkins Git client plugin:2.4.5
Script Security Plugin:1.27
bouncycastle API Plugin:2.16.1
PAM Authentication plugin:1.3
Jenkins Subversion Plug-in:2.7.2
Structs Plugin:1.6
Durable Task Plugin:1.13
Javadoc Plugin:1.4
Rally Plugin:2.2.2
Jenkins Extended Read Permission Plugin:2.0
Windows Slaves Plugin:1.3.1
MapDB API Plugin:1.0.9.0
External Monitor Job Type Plugin:1.7
build-name-setter:1.6.5
Credentials Binding Plugin:1.11
Jenkins build timeout plugin:1.18
Token Macro Plugin:2.1
Gerrit Trigger:2.23.2
Jenkins Cobertura Plugin:1.10
JUnit Plugin:1.20
OWASP Markup Formatter Plugin:1.5
Matrix Authorization Strategy Plugin:1.6
Pipeline: Supporting APIs:2.14
Jenkins Multijob plugin:1.24
next-executions:1.0.12
Display URL API:2.0
Environment Injector Plugin:2.1
Jenkins Translation Assistance plugin:1.15
Credentials Plugin:2.1.13
Google OAuth Credentials plugin:0.5
SCM API Plugin:2.1.1
Sectioned View Plugin:1.20
Monitoring:1.67.0
Copy Artifact Plugin:1.38.1
Pipeline: Step API:2.9
Pre SCM BuildStep Plugin:0.3
Jenkins SSH Slaves plugin:1.17
Pipeline: SCM Step:2.4
Icon Shim Plugin:2.0.3
LDAP Plugin:1.15
Hudson Post build task:1.8
Pipeline: API:2.13
SSH Credentials Plugin:1.13
Email Extension Plugin:2.57.2
Run Condition Plugin:1.0
HTML Publisher plugin:1.13
Build Blocker Plugin:1.7.3
Jenkins GIT server Plugin:1.7
Jenkins CVS Plug-in:2.13
Node and Label parameter plugin:1.7.2
Jenkins Git plugin:3.3.0
Pipeline: Nodes and Processes:2.11
OAuth Credentials plugin:0.3
built-on-column:1.1
Maven Integration plugin:2.15.1
Jenkins Throttle Concurrent Builds Plug-in:2.0
Conditional BuildStep:1.3.5
Robot Framework plugin:1.6.4
Jenkins Mailer Plugin:1.20
Jenkins Parameterized Trigger plugin:2.33
Matrix Project Plugin:1.11
Google Metadata plugin:0.2
CloudBees File Leak Detector Plugin:1.4
Jenkins jQuery plugin:1.11.2-0
Ant Plugin:1.5Jenkins: 2.46.2 Operating System: Centos 6.9 Jenkins Plugins: Plain Credentials Plugin:1.4 Google Cloud Storage plugin:0.13 Jenkins description setter plugin:1.10 Jenkins Git client plugin:2.4.5 Script Security Plugin:1.27 bouncycastle API Plugin:2.16.1 PAM Authentication plugin:1.3 Jenkins Subversion Plug-in:2.7.2 Structs Plugin:1.6 Durable Task Plugin:1.13 Javadoc Plugin:1.4 Rally Plugin:2.2.2 Jenkins Extended Read Permission Plugin:2.0 Windows Slaves Plugin:1.3.1 MapDB API Plugin:1.0.9.0 External Monitor Job Type Plugin:1.7 build-name-setter:1.6.5 Credentials Binding Plugin:1.11 Jenkins build timeout plugin:1.18 Token Macro Plugin:2.1 Gerrit Trigger:2.23.2 Jenkins Cobertura Plugin:1.10 JUnit Plugin:1.20 OWASP Markup Formatter Plugin:1.5 Matrix Authorization Strategy Plugin:1.6 Pipeline: Supporting APIs:2.14 Jenkins Multijob plugin:1.24 next-executions:1.0.12 Display URL API:2.0 Environment Injector Plugin:2.1 Jenkins Translation Assistance plugin:1.15 Credentials Plugin:2.1.13 Google OAuth Credentials plugin:0.5 SCM API Plugin:2.1.1 Sectioned View Plugin:1.20 Monitoring:1.67.0 Copy Artifact Plugin:1.38.1 Pipeline: Step API:2.9 Pre SCM BuildStep Plugin:0.3 Jenkins SSH Slaves plugin:1.17 Pipeline: SCM Step:2.4 Icon Shim Plugin:2.0.3 LDAP Plugin:1.15 Hudson Post build task:1.8 Pipeline: API:2.13 SSH Credentials Plugin:1.13 Email Extension Plugin:2.57.2 Run Condition Plugin:1.0 HTML Publisher plugin:1.13 Build Blocker Plugin:1.7.3 Jenkins GIT server Plugin:1.7 Jenkins CVS Plug-in:2.13 Node and Label parameter plugin:1.7.2 Jenkins Git plugin:3.3.0 Pipeline: Nodes and Processes:2.11 OAuth Credentials plugin:0.3 built-on-column:1.1 Maven Integration plugin:2.15.1 Jenkins Throttle Concurrent Builds Plug-in:2.0 Conditional BuildStep:1.3.5 Robot Framework plugin:1.6.4 Jenkins Mailer Plugin:1.20 Jenkins Parameterized Trigger plugin:2.33 Matrix Project Plugin:1.11 Google Metadata plugin:0.2 CloudBees File Leak Detector Plugin:1.4 Jenkins jQuery plugin:1.11.2-0 Ant Plugin:1.5
If a JNLP agent repeatedly tries to connect while there is a valid connection already established, Jenkins will open a socket but not close it after rejecting the connection. This pattern can continue to repeat until the Jenkins process hits an open file limit imposed by the operating system, leading to the disconnection of all agents.
These can be seen with:
$ lsof -u $JENKINS_USER ... java 29334 jenkins-ci 12u sock 0,6 0t0 284498333 can't identify protocol
This issue can be resolved by restarting Jenkins, the OS networking subsystem, or possible by connecting gdb and manually closing open sockets.