timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-27288] Leaking temporary directories named /tmp/hudson*tmp #5949

Open timja opened 9 years ago

timja commented 9 years ago

I just noticed that the SCM polling failed for all of our builds because no temporary files could be created in /tmp.

When looking there, I saw there were some 32k files named like hudson2195781228286547025tmp and that I'm hitting a filesystem limit that only allows a directory to have up to 32K files.

I deleted them all but they keep reappearing.

$ ls -la /tmp | grep hudson| wc -l
8
$ ls -la /tmp | grep hudson| wc -l
28
$ ls -la /tmp | grep hudson| wc -l
42


Originally reported by alien_, imported from: Leaking temporary directories named /tmp/hudson*tmp
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 9 years ago

danielbeck:

How many are created in, say, one hour?

What are the contents of these folders?