You may also limit the number of cores that a particular user can
use in a pool by using
condor_userprio -setceil
https://htcondor.readthedocs.io/en/latest/man-pages/condor_userprio.html
...Tim
We need to put some restrictions on our HT condor set-up.
1. Need to limit Max number no of jobs by a user who is found to be abusing resources.
2. Need to limit the total Max number of jobs by all users.
Please let me know how to implement the above two requirements.
Hi Gagan,
You were not clear above if you want to limit the max number of jobs that can be submitted, or the max number of jobs that can run.
To point you in the right direction, the following configuration limits can be setup on on your submit node (ie the server running your condor_schedd, known as the Access Point):
MAX_JOBS_RUNNING : Limits the number of jobs (vanilla or container) this condor_schedd may have running (across all users) at any one time on an Execute node.
MAX_JOBS_SUBMITTED: Limits the number of jobs contained in the Access Point queue.
MAX_JOBS_PER_OWNER: Limits the number of jobs any given owner (user) is permitted to have within a condor_schedd daemonâs queue
MAX_JOBS_PER_SUBMISSION: Limits the number of jobs any single submission is permitted to add to a condor_schedd daemonâs queue.
Don't forget to do a condor_reconfig (or condor_restart) after changing the above settings. Details on the above settings can be found in the Manual starting at :
https://htcondor.readthedocs.io/en/latest/admin-manual/configuration-macros.html#MAX_JOBS_RUNNING
You can also just configure your condor_schedd to deny access to a user, e.g. you could add to the config on your schedd machine something like:
DENY_WRITE = bad_user@*
Finally, you can set a limit on the number of jobs a single user can run pool-wide (i.e. across all Access Points), in the event that a user can submit from more than one schedd. To do this, use condor_userprio with the "-setceil" option. See
https://htcondor.readthedocs.io/en/latest/man-pages/condor_userprio.html
Hope the above helps,
Todd
_______________________________________________ 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/
-- Tim Theisen (he, him, his) Release Manager HTCondor & Open Science Grid Center for High Throughput Computing Department of Computer Sciences University of Wisconsin - Madison 4261 Computer Sciences and Statistics 1210 W Dayton St Madison, WI 53706-1685 +1 608 265 5736