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

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



On Wednesday, April 27, 2011 at 6:13 PM, Diane Trout wrote:

Hello

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:

http://www.cs.wisc.edu/condor/manual/v7.4/3_4User_Priorities.html#23976

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 name.

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
GROUP_AUTOREGROUP_group1 = FALSE

Regards,
- Ian

-- 
Ian Chesal
ichesal@xxxxxxxxxxxxxxxxxx
http://www.cyclecomputing.com/