[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Limit maximum running jobs per users - How to use parameters?



On 2/24/24 21:49, jhpark95 wrote:

"MAX_JOBS_SUBMITTED This integer value limits the number of jobs permitted in a condor_schedd daemonÃs
queue. Submission of a new cluster of jobs fails, if the total number of jobs would exceed this limit. The default
value for this variable is the largest positive integer value.

MAX_JOBS_PER_OWNER This integer value limits the number of jobs any given owner (user) is permitted to
have within a condor_schedd daemonÃs queue. A job submission fails if it would cause this limit on the number
of jobs to be exceeded. The default value is 100000.
This configuration variable may be most useful in conjunction with MAX_JOBS_SUBMITTED, to ensure that
no one user can dominate the queue."

Let say, we have 20 nodes in the system.
What I want to limit the running job is, any users cannot exceed 10 nodes.
For the users in our system, they have one job per submission.
Is there any examples to set the maximum running jobs by using two parameters above?


Hi Jeongkyeok:


Note these two parameter control the total number of jobs (idle, running or held) in a schedd.  If you want to limit the number of running jobs, that is going to be difficult to do with HTCondor version 8.8.  Newer versions of HTCondor support a per-submitter ceiling on the number of running jobs in the system with the -setceil option to condor_userprio: https://htcondor.readthedocs.io/en/latest/man-pages/condor_userprio.html


-greg



Best Regards,
Jeonghyeok


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/