mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2025-08-11 22:32:59 +02:00
Don't monitor jobs with more than 25 sub jobs.
This commit is contained in:
@@ -429,6 +429,15 @@ void CCSyncPlugin::endTransaction() {
|
|||||||
jobId.first, jobId.second);
|
jobId.first, jobId.second);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (auto totalSubmitProcs = job.find("TotalSubmitProcs");
|
||||||
|
totalSubmitProcs != job.end() &&
|
||||||
|
std::stoi(totalSubmitProcs->second) > 25) {
|
||||||
|
dprintf(D_VERBOSE,
|
||||||
|
"Job %d.%d is an array job with more than 25 sub-jobs, not "
|
||||||
|
"monitoring it\n",
|
||||||
|
jobId.first, jobId.second);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (state == RUNNING) {
|
if (state == RUNNING) {
|
||||||
auto jobBatchNameIt = job.find("JobBatchName");
|
auto jobBatchNameIt = job.find("JobBatchName");
|
||||||
|
Reference in New Issue
Block a user