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

Disk space leak with multiple copies of winstone-XXXX.jar in TEMP folder

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Windows 8.1 x64, JDK 1.7.0_51, Jenkins 1.553

      Continued operation of Jenkins creates multiple copies of "winstone.jar" with a numeric suffix in TEMP folder (winstone12343543634634.jar). We had about 800Gb of these accumulated, slowing down the host system.

      We are currently running Jenkins directly (`java -jar jenkins.jar`) via Windows scheduled task.

          [JENKINS-22088] Disk space leak with multiple copies of winstone-XXXX.jar in TEMP folder

          Anton Tayanovskyy created issue -

          Matt Hicks added a comment -

          This is a serious problem. I just discovered that my Jenkins installation, which I don't even use, has been filling my drive with these files for at least 2 months, taking up several hundred GB of space. This is on Mac OS X 10.9.

          Matt Hicks added a comment - This is a serious problem. I just discovered that my Jenkins installation, which I don't even use, has been filling my drive with these files for at least 2 months, taking up several hundred GB of space. This is on Mac OS X 10.9.

          Sean Dwyer added a comment -

          I had this issue also. In my case it was caused by the Jenkins service starting and failing constantly and creating a winstone*.jar file in the temp folder each time. This was happening because Jenkins was already running as a process when the service was trying to start. I fixed it by killing the java process for Jenkins in Task Manager, then starting the Jenkins Service.

          Sean Dwyer added a comment - I had this issue also. In my case it was caused by the Jenkins service starting and failing constantly and creating a winstone*.jar file in the temp folder each time. This was happening because Jenkins was already running as a process when the service was trying to start. I fixed it by killing the java process for Jenkins in Task Manager, then starting the Jenkins Service.

          Amanda Xu added a comment -

          Hello There. I am running into the same problem. Is there a workaround? My Jenkins version is 1.542. Thanks in advanced.

          Amanda Xu added a comment - Hello There. I am running into the same problem. Is there a workaround? My Jenkins version is 1.542. Thanks in advanced.

          PL Nech added a comment -

          Hi there,

          I have the same problem with Jenkins ver. 1.612 on Windows 7 64bits.

          PL Nech added a comment - Hi there, I have the same problem with Jenkins ver. 1.612 on Windows 7 64bits.

          Jay Beeckman added a comment -

          Same here on 1.627 on Windows 2008 R2 64 Bit. I'm going to manually clear it out, but this should be fixed.

          Jay Beeckman added a comment - Same here on 1.627 on Windows 2008 R2 64 Bit. I'm going to manually clear it out, but this should be fixed.

          This seems to happen on non-Windows as well; I have a Linux server and have a bunch in /tmp.

          Aaron D. Marasco added a comment - This seems to happen on non-Windows as well; I have a Linux server and have a bunch in /tmp .

          Deepak Koirala added a comment - - edited

          Is there a workaround yet? Do we need to manually delete all the winstoneXXXXXXXXXXXX.jar? Deleting these jars won't affect anything, right? We have Jenkins ver. 1.613, installed in windows server and facing the same issue. Almost 70 GB space is full within 3 months. And I saw most of the space is taken by winstone.jar in temp folder.

          Deepak Koirala added a comment - - edited Is there a workaround yet? Do we need to manually delete all the winstoneXXXXXXXXXXXX.jar? Deleting these jars won't affect anything, right? We have Jenkins ver. 1.613, installed in windows server and facing the same issue. Almost 70 GB space is full within 3 months. And I saw most of the space is taken by winstone.jar in temp folder.

          Same here on Windows 2008 Server.

          Noël Bardelot added a comment - Same here on Windows 2008 Server.

          Daniel added a comment -

          I just stumbled upon this Issue and used https://wiki.jenkins-ci.org/display/JENKINS/Tmp+Cleaner+Plugin as a workaround.
          Had to set all mentioned parameters with system properties when starting Jenkins but result was a cleaned /var/tmp after that.
          YMMV, but might be a valid workaround. HTH, Daniel

          Daniel added a comment - I just stumbled upon this Issue and used https://wiki.jenkins-ci.org/display/JENKINS/Tmp+Cleaner+Plugin as a workaround. Had to set all mentioned parameters with system properties when starting Jenkins but result was a cleaned /var/tmp after that. YMMV, but might be a valid workaround. HTH, Daniel

            ifernandezcalvo Ivan Fernandez Calvo
            t0yv0 Anton Tayanovskyy
            Votes:
            20 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated:
              Resolved: