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

Prevent infinite loop in case of closed SSL connection

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • remoting
    • None
    • 4.13, Jenkins 2.338

      Increased CPU load on Jenkins instance.
      The root cause of CPU load was a thread that is stuck in an infinite loop in SSLEngineFilterLayer.java
      The remote agent was already terminated by kubernetes-plugin and the SSL connection is closed, but the thread is still working because can't exit from the while loop.

          [JENKINS-67928] Prevent infinite loop in case of closed SSL connection

          Tim Jacomb created issue -
          Tim Jacomb made changes -
          Description New: Increased CPU load on Jenkins instance.
          The root cause of CPU load was a thread that is stuck in an infinite loop in SSLEngineFilterLayer.java
          The remote agent was already terminated by kubernetes-plugin and the SSL connection is closed, but the thread is still working because can't exit from the while loop.
          Tim Jacomb made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tim Jacomb made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Tim Jacomb made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/remoting/pull/513 (Web Link)" [ 27435 ]
          Basil Crow made changes -
          Assignee Original: Jeff Thompson [ jthompson ] New: Ilya Gulyaev [ gulyaev13 ]

          Basil Crow added a comment -

          Fixed in jenkinsci/remoting#513 toward 4.13.

          Basil Crow added a comment - Fixed in jenkinsci/remoting#513 toward 4.13.
          Basil Crow made changes -
          Released As New: 4.13
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Released As Original: 4.13 New: 4.13, Jenkins 2.338
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            gulyaev13 Ilya Gulyaev
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: