Red Hat Bugzilla – Bug 814639
Condor sometimes fails to clean cgroup entries at job exit
Last modified: 2013-02-13 11:32:00 EST
Description of problem:
Condor does not always clean up the entries it creates
Version-Release number of selected component (if applicable):
Always (given enough jobs)
Steps to Reproduce:
1. Run a condor compute node with cgroups enabled, e.g.
have in the config:
BASE_CGROUP = /condor
2. Have (lots) of jobs run on the machine
3. Have a look in e.g.
I see e.g. a bunch of directory entries job_<number>_<number>
I'd expect only to see those of jobs that are currently running.
E.g. on a compute node, up 27 days:
# condor_status rat
Name OpSys Arch State Activity LoadAv Mem ActvtyTime
email@example.com LINUX X86_64 Unclaimed Idle 1.000 80680 0+00:08:07
firstname.lastname@example.org LINUX X86_64 Claimed Busy 0.990 8000 0+00:16:38
email@example.com LINUX X86_64 Claimed Busy 0.990 8000 0+00:16:17
So 2 jobs running.
# ls -1d job* | wc -l
# ls -d
ls -d job*
job_1002_0 job_2452_0 job_2457_0 job_25606_34 job_2661_0 job_2697_0
Only entries for currently running jobs.
*) It's not that no entries are cleaned. 1000's of jobs ran on this
*) I don't know if condor recycles job numbers, but if so, that will
cause problems if these entries pre-exist
*) For the jobs of which these entries remain, I see in the resp.
04/19/12 15:55:28 DaemonCore: command socket at <10.33.133.103:9676>
04/19/12 15:55:28 DaemonCore: private command socket at <10.33.133.103:9676>
04/19/12 15:55:28 Setting maximum accepts per cycle 8.
04/19/12 15:55:28 Communicating with shadow <10.33.133.88:9610?noUDP>
04/19/12 15:55:28 Submitting machine is "qayd.esat.kuleuven.be"
04/19/12 15:55:28 setting the orig job name in starter
04/19/12 15:55:28 setting the orig job iwd in starter
04/19/12 15:55:28 sysapi_disk_space_raw: Free disk space kbytes overflow, capping to INT_MAX
04/19/12 15:55:28 Done setting resource limits
04/19/12 15:55:28 Job 1002.0 set to execute immediately
04/19/12 15:55:28 Starting a VANILLA universe job with ID: 1002.0
04/19/12 15:55:28 IWD: /users/visics/bfernand/Documents/Projects/Domain Adaptation/Codes/mining_oxford/
04/19/12 15:55:29 Output file: /users/visics/bfernand/Documents/Projects/Jobs/out/oxford_ocl_data_query.out
04/19/12 15:55:29 Error file: /users/visics/bfernand/Documents/Projects/Jobs/err/oxford_ocl_data_query.err
04/19/12 15:55:29 Renice expr "19" evaluated to 19
04/19/12 15:55:29 Using wrapper /usr/libexec/condor/condor_job_wrapper to exec /software/matlab/2010b/bin/matlab -nodisplay -nodesktop -r oxford_mining_ocl_query
04/19/12 15:55:29 Running job as user root
04/19/12 15:55:29 Create_Process succeeded, pid=16469
04/19/12 17:46:46 Got SIGQUIT. Performing fast shutdown.
04/19/12 17:46:46 ShutdownFast all jobs.
04/19/12 17:46:46 error writing to named pipe: watchdog pipe has closed
04/19/12 17:46:46 LocalClient: error sending message to server
04/19/12 17:46:46 ProcFamilyClient: failed to start connection with ProcD
04/19/12 17:46:46 kill_family: ProcD communication error
04/19/12 17:46:46 ERROR "ProcD has failed" at line 621 in file /builddir/build/BUILD/condor-7.7.5/src/condor_utils/proc_family_proxy.cpp
04/19/12 18:12:36 Setting maximum accepts per cycle 8.
So as the job finishes, something rotten happens...
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '16'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 16's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 16 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" and open it against that version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.