Anthony Wat created JENKINS-12699:
-------------------------------------

             Summary: Temp upload files from file param not removed after 
transferred to slave
                 Key: JENKINS-12699
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12699
             Project: Jenkins
          Issue Type: Bug
          Components: core
         Environment: OS: Linux ara02 2.6.9-103.ELsmp #1 SMP Fri Nov 11 
14:34:02 EST 2011 i686 i686 i386 GNU/Linux
JRE: java version "1.6.0_16"
Jenkins: 1.442
            Reporter: Anthony Wat


I currently have a master-slave configuration on Jenkins 1.442 running on a 
Linux box. Lately I started using file parameter for one of my jobs, and 
noticed that disk space was decreasing rather quickly on the master system. 
Upon examination it turns out that file parameter is creating files under /tmp, 
with a naming convention upload_*.tmp, when the file parameters are uploaded. 
I've done some experiment and noticed that:

- If the job is running on master, the tmp file is moved into the workspace 
correctly.
- If the job is running on slave, the tmp file is uploaded to the slave 
workspace correctly, but the upload_*.tmp file remains in /tmp.

I am using a file parameter for a 100 MB file, so it is very easy to collect 
GBs worth of temporary files, until my master runs out of disk space. For now I 
have added a cron job to delete these upload_*.tmp files, but it's not safe if 
the script runs at the same time as a user uploading a file param for a job.

Let me know what other debugging information I need to provide, if any. Please 
investigate, thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to