Am 08.03.2011 um 16:01 schrieb Ian Kaufman:
> Hi Sangmin,
>
>>
>> I'm setting up sge to start service for our cluster system.
>> I want to limit the number of job submission from users.
>> For example, I want to restrict to 2 jobs number of job submission per a
>> user.
>> I tried to set it up using "to slots", but it's not enough.
>> is there other option instead of slots?
>>
>> this is rqs
>> {
>> name job_submission
>> description resourse quota for the number of job submission
>> enabled TRUE
>> limit users {@onsiteusers} queues short.q to slots=16
>> }
>>
>
> "slots" is the correct parameter. For example, I use this:
>
> {
> name maxujobs
> description Maximum slots per user
> enabled TRUE
> limit users alpha to slots=320
> limit users beta to slots=128
> limit users {*,!alpha,!beta} to slots=32
> }
NB: this can be used this way for documentation purpose, but the first matching
rule will exit the complete set. I.e. user "alpha" will never be tested by the
last rule, as the quota evaluation exits already after the first one, either by
allowing or denying the execution. Hence the two individual users can be left
out in the last rule.
-- Reuti
> which correctly limits user alpha to 320 jobs, user beta to 128 jobs,
> and all others to 32 jobs. In your rqs, you are limiting users to 16
> jobs, not 2.
>
> Ian
>
> --
> Ian Kaufman
> Research Systems Administrator
> UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users