Hudson startes 100's of ssh sessions for offline slaves

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

            Assignee:
            Unassigned
            Reporter:
            rajp
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: