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

ssh-slave connection seems to have performance issues


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • ssh-slaves-plugin
    • CentOS release 6.4 (Final)
      OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
      Jenkins 1.532.1 LTS
      ssh-slaves-plugin version 1.5


      we experienced increasingly high amounts of CPU usage on our jenkins master machine:
      i made a CPU sample using visualVM (screenshot attached)
      the sample shows excessive CPU-time at CipherInputStream.fill_buffer() which performs the actual read from the ssh-connection as far as i understand this.
      the sample only looks like this when a build is performed on a slave. I'm pretty sure the main cause of traffic via CipherInputStream is to stream logfiles of builds or other stuff that's getting archived.

      the slaves are running on
      CentOS release 6.4 (Final)
      [kazesberger@grzcislave32 ~]$ ssh -V
      OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010

      the jenkins-master has no execution-slots itself.
      we are using ssh-slaves-plugin version 1.5

      currently i do not have any clue whether the problem is at trilead-ssh2-jenkins or at OpenSSH. the symptom occurs on the trilead-ssh2-jenkins side.

            ifernandezcalvo Ivan Fernandez Calvo
            mcklaus Klaus Azesberger
            4 Vote for this issue
            4 Start watching this issue