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

Temporary files aren't cleaned before Jenkins master is restarted

XMLWordPrintable

      On servers uses this plugin we can find in the temp directory many files and directories named appFile*

      221M    appFile1311342967361766113
      142M    appFile1311342967361766113.tmp
      221M    appFile3926862658633267926
      142M    appFile3926862658633267926.tmp
      221M    appFile6027577229511647089
      142M    appFile6027577229511647089.tmp
      221M    appFile615741004919888734
      142M    appFile615741004919888734.tmp
      0   appFile6317999106758880385
      4.0K    appFile6317999106758880385.tmp
      0   appFile6350568580474664640
      4.0K    appFile6350568580474664640.tmp
      221M    appFile6513370571794691010
      142M    appFile6513370571794691010.tmp
      221M    appFile9199362560582974984
      142M    appFile9199362560582974984.tmp
      

      It can quickly increase if you don't restart often the master and you do a lot of deployments

      These files and directories aren't deleted before jenkins restart because of these line

      ".deleteOnExit()" will be called only when Jenkins is stopped.
      if "client.uploadApplication" is synchroneous the file or the directory should be deleted after it.

            williamg William Gautier
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: