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

Windows Agent Service Installer may leak File descriptors

      Windows Service installer for the Jenkins master uses the "Redirect.log" to retrieve the result of the service start command. If the read issue happens, the file descriptor may be leaked. In such case new service start attempts within Jenkins will be failing till the instance restart.

      Same as JENKINS-42670, but for the module

          [JENKINS-43930] Windows Agent Service Installer may leak File descriptors

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Description Original: Windows Service installer for the Jenkins master uses the "Redirect.log" to retrieve the result of the service start command. If the read issue happens, the file descriptor may be leaked. In such case new service start attempts within Jenkins will be failing till the instance restart. New: Windows Service installer for the Jenkins master uses the "Redirect.log" to retrieve the result of the service start command. If the read issue happens, the file descriptor may be leaked. In such case new service start attempts within Jenkins will be failing till the instance restart.

          Same as JENKINS-42670, but for the module
          Oleg Nenashev made changes -
          Labels Original: 2.46.1-fixed leak New: leak
          Oleg Nenashev made changes -
          Component/s New: windows-slave-installer-module [ 21834 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-42670 [ JENKINS-42670 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/org/jenkinsci/modules/windows_slave_installer/WindowsSlaveInstaller.java
          http://jenkins-ci.org/commit/windows-slave-installer-module/44a08b3ac12934de907c754b1750293fbee70d4f
          Log:
          [FIXED JENKINS-43930] - Fatal file leak on exceptional path when redirect.log is not writable

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/modules/windows_slave_installer/WindowsSlaveInstaller.java http://jenkins-ci.org/commit/windows-slave-installer-module/44a08b3ac12934de907c754b1750293fbee70d4f Log: [FIXED JENKINS-43930] - Fatal file leak on exceptional path when redirect.log is not writable

          Oleg Nenashev added a comment -

          The fix has been merged towards 2.60. In order to backport the change, a new backport & release of Windows Agent Installer module will be required

          Oleg Nenashev added a comment - The fix has been merged towards 2.60. In order to backport the change, a new backport & release of Windows Agent Installer module will be required
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: