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

Re: [Condor-users] limiting number of slots a user can take

On 04/28/2011 10:14 AM, Ian Chesal wrote:
On Wednesday, April 27, 2011 at 6:13 PM, Diane Trout wrote:


Is there any good way to put a limit on the number of slots a single
user can take?
Yes, you can put the user in to their own accounting group, set a quota
on that group and disable auto-regrouping for the group. This will cap
the number of slots all jobs from people in that accounting group can claim.

For details on accounting groups see:


It requires that your users add:

+AccountingGroup = "group1.<user>"

To their submission tickets. Where group1 is the group name you pick
(and it should never collide with a user name) and <user> is their user

And you would then set their quota by adding the following to your
negotiator's condor_config.local file:

GROUP_NAMES = group1
GROUP_QUOTA_group1 = 10
GROUP_PRIO_FACTOR_group1 = 1.0

- Ian

Ian Chesal

Most options, like this one, require trusting the user to play along. If they don't/won't. Then you can enable preemption and setup policy to de-prioritize the user's jobs the more they have concurrently running. This is like running condor_vacate_job on their jobs.

Ian can probably give you a handful of configs that do that too.