-
Bug
-
Resolution: Fixed
-
Minor
-
- Jenkins 2.130
- active-directory-plugin 2.8 / STARTTLS enabled
- Ubuntu 18.04
- MS Active Directory
On our environment we are observing a high number of threads waiting with the following stack:
Thread-169"Thread-169" Id=277 Group=main WAITING on java.lang.Object@64e59be7 at java.base@10.0.1/java.lang.Object.wait(Native Method) - waiting on java.lang.Object@64e59be7 at java.base@10.0.1/java.lang.Object.wait(Object.java:328) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.pauseReader(Connection.java:771) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.run(Connection.java:911) at java.base@10.0.1/java.lang.Thread.run(Thread.java:844) Thread-175"Thread-175" Id=283 Group=main WAITING on java.lang.Object@156aef27 at java.base@10.0.1/java.lang.Object.wait(Native Method) - waiting on java.lang.Object@156aef27 at java.base@10.0.1/java.lang.Object.wait(Object.java:328) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.pauseReader(Connection.java:771) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.run(Connection.java:911) at java.base@10.0.1/java.lang.Thread.run(Thread.java:844) Thread-177"Thread-177" Id=285 Group=main WAITING on java.lang.Object@3df5e68a at java.base@10.0.1/java.lang.Object.wait(Native Method) - waiting on java.lang.Object@3df5e68a at java.base@10.0.1/java.lang.Object.wait(Object.java:328) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.pauseReader(Connection.java:771) at java.naming@10.0.1/com.sun.jndi.ldap.Connection.run(Connection.java:911) at java.base@10.0.1/java.lang.Thread.run(Thread.java:844)
(dump from http://jenkinsurl/threadDump )
The amount of similar waiting threads increases by 2 on every login and are not being closed leading to a "Too many open files" after a couple days, at that point 378 were waiting with the stack above.
Please let me know if any further information is required to help solve/reproduce this issue.
- is duplicated by
-
JENKINS-62302 Jenkins slowing down , finally read time out
- Closed
-
JENKINS-63585 using jenkins version 2.235.2 for CI/CD and its not closing threads automatically
- Closed