-
Bug
-
Resolution: Unresolved
-
Major
-
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
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.
- is duplicated by
-
JENKINS-32215 jenkins will not delete /tmp/upload_*.tmp files,after use File parameter upload file for build
- Resolved
- relates to
-
JENKINS-27413 Handle file parameters
- Resolved
- links to