Skip to content

[JENKINS-74952] If ssh/jnlp connection dies remoting calls are stuck in an infinite loop. #1504

@jenkins-infra-bot

Description

@jenkins-infra-bot

Seeing this happen with us frequently.  I realize that we've got an underlying issue to fix with the ssh/jnlp connection just dying for no reason... but we keep having these process stuck on Request.java:177 indefinitely till a bounce is done of jenkins.   Any way we could put a timeout or check to see if the channel is actually running?    

"Workspace clean-up thread / waiting for system-tasks-xx.xx.xx.xx-aadeca16-3f43-47dc-b26d-41cad9d6891b id=12469479" daemon prio=5 TIMED_WAITING java.base@​17.0.12/java.lang.Object.wait(Native Method) hudson.remoting.Request.call(Request.java:177) hudson.remoting.Channel.call(Channel.java:1041) hudson.FilePath.act(FilePath.java:1229) hudson.FilePath.act(FilePath.java:1218) hudson.model.WorkspaceCleanupThread.execute(WorkspaceCleanupThread.java:102) hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102) hudson.model.AsyncPeriodicWork$$Lambda$998/0x000000008144b230.run(Unknown Source) java.base@​17.0.12/java.lang.Thread.run(Thread.java:842)

Originally reported by mikeycarter, imported from: If ssh/jnlp connection dies remoting calls are stuck in an infinite loop.
  • assignee: jthompson
  • status: Open
  • priority: Minor
  • component(s): remoting
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-11-25
Raw content of original issue

Seeing this happen with us frequently.  I realize that we've got an underlying issue to fix with the ssh/jnlp connection just dying for no reason... but we keep having these process stuck on Request.java:177 indefinitely till a bounce is done of jenkins.   Any way we could put a timeout or check to see if the channel is actually running?    

"Workspace clean-up thread / waiting for system-tasks-xx.xx.xx.xx-aadeca16-3f43-47dc-b26d-41cad9d6891b id=12469479" daemon prio=5 TIMED_WAITING [email protected]/java.lang.Object.wait(Native Method) hudson.remoting.Request.call(Request.java:177) hudson.remoting.Channel.call(Channel.java:1041) hudson.FilePath.act(FilePath.java:1229) hudson.FilePath.act(FilePath.java:1218) hudson.model.WorkspaceCleanupThread.execute(WorkspaceCleanupThread.java:102) hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102) hudson.model.AsyncPeriodicWork$$Lambda$998/0x000000008144b230.run(Unknown Source) [email protected]/java.lang.Thread.run(Thread.java:842)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions