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

Hudson startes 100's of ssh sessions for offline slaves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: remoting
    • Labels:
      None
    • Environment:
      Platform: All, OS: Windows XP
    • Similar Issues:

      Description

      Im using Hudson on a windows xp machine with cygwin.
      the slaves connected using cygwin ssh.

      In the last 2 releases of hudson,
      Over a few hours, for some reason heaps of ssh.exe sessions are started.
      I have a few slaves which as offline. Whenever hudson try's to connect to them
      it starts a new ssh.exe session but dosnt kill it when the connection failes.

      I noticed the following error caused an extra 4 ssh sessions to be started.


      SEVERE: Unable to launch the slave agent for linux02
      java.io.EOFException: unexpected stream termination
      at hudson.remoting.Channel.<init>(Channel.java:258)
      at hudson.model.Slave$ComputerImpl.setChannel(Slave.java:390)
      at hudson.model.Slave$ComputerImpl$1.run(Slave.java:342)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      -------------------

        Attachments

          Activity

          rajp rajp created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          lloydchang Lloyd Chang made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 131778 ] JNJira + In-Review [ 200920 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rajp rajp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: