Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53867

Too many open files caused Jenkins crashed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • _unsorted
    • None

      When we upgrade Jenkins core from the 2.73.3 to 2.89.4 and 2.89.4 to 2.107.3 the Jenkins start to leak file handles (also used plugins was updated), see attached pictures created by Monitoring pluging. The linux lsof command shows that Jenkins leaks TCP sockets:

      ...
      java    29737 jenkins 1244u     sock                0,7       0t0  24524616 protocol: TCP
      java    29737 jenkins 1245u     sock                0,7       0t0  17683939 protocol: TCP
      java    29737 jenkins 1246u     sock                0,7       0t0  95469787 protocol: TCP
      java    29737 jenkins 1247u     sock                0,7       0t0  90579011 protocol: TCP
      java    29737 jenkins 1248u     sock                0,7       0t0  33329570 protocol: TCP
      ...
      

      We can't use Open File Handle plugin to detect who leaks handles because we don't use required JDK (getting oops).

       

       

            oleg_nenashev Oleg Nenashev
            tapsa Tapio Reijonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: