Red Hat Bugzilla – Bug 470855
condor_schedd logs incorrect number of idle jobs
Last modified: 2012-02-14 14:36:57 EST
Description of problem:
The condor_schedd logs about the number of idle jobs, but does so incorrectly.
Version-Release number of selected component (if applicable):
exists since at least 7.0.5
Steps to Reproduce:
1. start a clean schedd
2. monitor SchedLog
3. submit 512 jobs that do not run
4. in SchedLog, watch for: Out of servers - 0 jobs matched, 512 jobs idle, 1 jobs rejected
5. rm the jobs
6. in SchedLog, watch for: Out of servers - 0 jobs matched, 512 jobs idle, 0 jobs rejected
I would expect the log to mention 0 jobs idle when in fact there are 0 idle jobs.
This appears to be related to HashTable iteration. Possibly jobs are not being purged when they are removed from the queue. The jobs are counted by walking the queue with get_job_prio in qmgmt.C.
log delta is not the same anymore, match line appears differently post asyn negotiation.