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
}

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
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to