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

TimeoutService threads are left after closing connection

XMLWordPrintable

      When our application, using trilead ssh2, is closed we can still see threads from TimeoutService left.

      TimeoutService-1" #26 daemon prio=5 os_prio=0 cpu=0.95ms elapsed=153134.45s tid=0x00007f804cdaa9b0 nid=0x20 waiting on condition  [0x00007f804c013000]
      "TimeoutService-10" #78 daemon prio=5 os_prio=0 cpu=0.20ms elapsed=144280.77s tid=0x00007f804eb2e6c0 nid=0x6d waiting on condition  [0x00007f80484e6000]
      "TimeoutService-11" #84 daemon prio=5 os_prio=0 cpu=0.43ms elapsed=144271.51s tid=0x00007f804eb30cb0 nid=0x73 waiting on condition  [0x00007f80494fd000]
      "TimeoutService-12" #86 daemon prio=5 os_prio=0 cpu=0.62ms elapsed=144271.30s tid=0x00007f804eb31940 nid=0x75 waiting on condition  [0x00007f8049180000]
      "TimeoutService-13" #109 daemon prio=5 os_prio=0 cpu=0.25ms elapsed=86787.79s tid=0x00007f804c163700 nid=0xa0 waiting on condition  [0x00007f804af93000]
      "TimeoutService-14" #112 daemon prio=5 os_prio=0 cpu=0.22ms elapsed=86787.46s tid=0x00007f804ed9f9f0 nid=0xa3 waiting on condition  [0x00007f804ad91000]
      "TimeoutService-15" #123 daemon prio=5 os_prio=0 cpu=0.31ms elapsed=86783.45s tid=0x00007f804cea1370 nid=0xae waiting on condition  [0x00007f8048f7e000]
      "TimeoutService-16" #125 daemon prio=5 os_prio=0 cpu=0.27ms elapsed=86783.15s tid=0x00007f804eab6010 nid=0xb0 waiting on condition  [0x00007f8048760000]
      "TimeoutService-17" #130 daemon prio=5 os_prio=0 cpu=0.59ms elapsed=86779.98s tid=0x00007f804eab86a0 nid=0xb5 waiting on condition  [0x00007f80481e3000]

      I created a pull request for this:

      https://github.com/jenkinsci/trilead-ssh2/pull/155

      I will try it in our environment beginning next week.

      br,

      //mike

            ifernandezcalvo Ivan Fernandez Calvo
            eraonel eraonel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: