[Bug 991696] Re: tmp files aren't being cleaned up

Tom Haddon tom.haddon at canonical.com
Mon Apr 30 07:25:42 UTC 2012


mthaddon at finfolk:~$ ls -lh /srv/daisy.ubuntu.com/var/Ubuntu\ 12.04/
total 40K
drwx------ 3 whoopsie whoopsie 4.0K Apr 27 04:58 tmp6slEGW
drwx------ 4 whoopsie whoopsie 4.0K Apr 30 06:32 tmpeSh1UO
drwx------ 3 whoopsie whoopsie 4.0K Apr 27 14:01 tmphTFXv6
drwx------ 3 whoopsie whoopsie 4.0K Apr 27 04:58 tmpICFTIg
drwx------ 4 whoopsie whoopsie 4.0K Apr 27 16:49 tmpiVxj5Q
drwx------ 3 whoopsie whoopsie 4.0K Apr 30 06:27 tmpMpv9e_
drwx------ 3 whoopsie whoopsie 4.0K Apr 27 14:01 tmpSzxu0b
drwx------ 3 whoopsie whoopsie 4.0K Apr 26 22:46 tmpVAYgyu
drwx------ 3 whoopsie whoopsie 4.0K Apr 27 16:47 tmpZBrdux
drwx------ 3 whoopsie whoopsie 4.0K Apr 26 22:46 tmpZD746V

As you can see, the directories are a few days old, and it seems like
there are no processes owned by the whoopsie user that are that old, so
it does seems like these aren't being cleaned up.

We have a cronjob that was put in place and then disabled per the
comments below which may be relevant here:

# spm 2012-04-18, we're *rapidly* eating space. this seems to be the culprit
#   hence a rather aggressive find -delete to keep it sane
# gnuoy 2012-04-18, disabled due to retracer expecting these dirs to exist.
# 5 * * * * find /srv/daisy.ubuntu.com/var/Ubuntu\ 12.04/ -maxdepth 1 -type d -name 'tmp*' -mmin +180 -print0 | xargs -0 rm -rf

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to whoopsie-daisy in Ubuntu.
https://bugs.launchpad.net/bugs/991696

Title:
  tmp files aren't being cleaned up

Status in “whoopsie-daisy” package in Ubuntu:
  New

Bug description:
  Hi,

  The tmp files aren't being cleaned up and consuming quite a bit of
  space:

  whoopsie at finfolk:/srv/daisy.ubuntu.com/var/Ubuntu 12.04$ du --max-depth=1 -x -h
  8.0G    ./tmphTFXv6
  755M    ./tmpZD746V
  24G     ./tmpMpv9e_
  11G     ./tmpSzxu0b
  20G     ./tmpiVxj5Q
  1.1G    ./tmp6slEGW
  691M    ./tmpVAYgyu
  53M     ./tmpZBrdux
  1.2G    ./tmpICFTIg
  65G     .

  Any chance you could take a look?

  
  Thanks,

  Haw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie-daisy/+bug/991696/+subscriptions




More information about the foundations-bugs mailing list