Skip to content

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

Closed

Description

@jenkins-infra-bot

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.


Originally reported by timja, imported from: Prevent infinite loop in case of closed SSL connection
  • assignee: gulyaev13
  • status: Closed
  • priority: Minor
  • component(s): remoting
  • resolution: Fixed
  • resolved: 2022-03-04T03:47:22+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-25
Raw content of original issue

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.

Activity

  1. jenkins-infra-bot commented on Mar 2, 2022

    @jenkins-infra-bot
    Author
  2. jenkins-infra-bot commented on Mar 4, 2022

    @jenkins-infra-bot
    Author
    basil:

    Fixed in jenkinsci/remoting#513 toward 4.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions