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

PerJobCredentialStore kept in ExportTable (potential OOM)

      PerJobCredentialStore is kept in ExportTable and is never released which can leads to OOM, for details see [1] and also [2].
      [1]http://jenkins.361315.n4.nabble.com/jenkins-running-out-of-memory-heapspace-I-have-a-memory-leak-td3658830.html
      [2]http://jenkins.361315.n4.nabble.com/Severe-memory-leak-in-hudson-td3162254.html

          [JENKINS-10424] PerJobCredentialStore kept in ExportTable (potential OOM)

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          pom.xml
          http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271
          Log:
          [FIXED JENKINS-10424] integrating a new version of remoting.jar that
          fixes reference count leaks.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html pom.xml http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271 Log: [FIXED JENKINS-10424] integrating a new version of remoting.jar that fixes reference count leaks.

          The fix is in remoting.jar 2.2. So interested people please build Jenkins with this remoting jar and let us know how it goes.

          I can build 1.422+this fix very easily, but I don't have a good place to put it, as jenkins.war is bulky.

          Kohsuke Kawaguchi added a comment - The fix is in remoting.jar 2.2. So interested people please build Jenkins with this remoting jar and let us know how it goes. I can build 1.422+this fix very easily, but I don't have a good place to put it, as jenkins.war is bulky.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #984
          [FIXED JENKINS-10424] integrating a new version of remoting.jar that

          Kohsuke Kawaguchi : c797e28b7b2df90cec240c159200077880903271
          Files :

          • pom.xml
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #984 [FIXED JENKINS-10424] integrating a new version of remoting.jar that Kohsuke Kawaguchi : c797e28b7b2df90cec240c159200077880903271 Files : pom.xml changelog.html

          Cees Bos added a comment -

          What is the expected delivery date for this fix?
          Is there a way we can use the 1.422+ version?

          We are suffering each day from this issue, every day is a day too much.

          Cees Bos added a comment - What is the expected delivery date for this fix? Is there a way we can use the 1.422+ version? We are suffering each day from this issue, every day is a day too much.

          vjuranek added a comment -

          I can confirm, that the issue was fixed.

          @Cees Bos: you can download snapshot build from Jenkins CI, in [1] and later builds it should be fixed

          [1] http://ci.jenkins-ci.org/job/jenkins_main_trunk/984/artifact/war/target/jenkins.war

          vjuranek added a comment - I can confirm, that the issue was fixed. @Cees Bos: you can download snapshot build from Jenkins CI, in [1] and later builds it should be fixed [1] http://ci.jenkins-ci.org/job/jenkins_main_trunk/984/artifact/war/target/jenkins.war

          Cees Bos added a comment -

          I have upgraded our Jenkins environment to the war mentioned above.
          Heap usage is back to previous normal level (1.5 Gb instead of 3Gb before the fix)

          Jenkins is working much much better now as we were used to before. Thanks

          Cees Bos added a comment - I have upgraded our Jenkins environment to the war mentioned above. Heap usage is back to previous normal level (1.5 Gb instead of 3Gb before the fix) Jenkins is working much much better now as we were used to before. Thanks

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/test/java/hudson/remoting/ChannelTest.java
          http://jenkins-ci.org/commit/jenkins/b130a59b6b237b05e2be693e34a456ea28187765
          Log:
          Backporting fix for JENKINS-10424 from remoting project (https://github.com/jenkinsci/remoting/commit/4cd0ec976d350b22d4b9180ae9858777abd3097a)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/test/java/hudson/remoting/ChannelTest.java http://jenkins-ci.org/commit/jenkins/b130a59b6b237b05e2be693e34a456ea28187765 Log: Backporting fix for JENKINS-10424 from remoting project ( https://github.com/jenkinsci/remoting/commit/4cd0ec976d350b22d4b9180ae9858777abd3097a )

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/0f3f59c05be0311cda2cf924cccfb8b481f4e7cf
          Log:
          Added changelog item for backported fix for JENKINS-10424

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: changelog.html http://jenkins-ci.org/commit/jenkins/0f3f59c05be0311cda2cf924cccfb8b481f4e7cf Log: Added changelog item for backported fix for JENKINS-10424

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          pom.xml
          http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271
          Log:
          [FIXED JENKINS-10424] integrating a new version of remoting.jar that
          fixes reference count leaks.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html pom.xml http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271 Log: [FIXED JENKINS-10424] integrating a new version of remoting.jar that fixes reference count leaks.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          pom.xml
          http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271
          Log:
          [FIXED JENKINS-10424] integrating a new version of remoting.jar that
          fixes reference count leaks.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html pom.xml http://jenkins-ci.org/commit/jenkins/c797e28b7b2df90cec240c159200077880903271 Log: [FIXED JENKINS-10424] integrating a new version of remoting.jar that fixes reference count leaks.

            kohsuke Kohsuke Kawaguchi
            vjuranek vjuranek
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: