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

Hudson startes 100's of ssh sessions for offline slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • remoting
    • None
    • Platform: All, OS: Windows XP

      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)
      -------------------

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

              Created:
              Updated:
              Resolved: