https://bugzilla.wikimedia.org/show_bug.cgi?id=52976

--- Comment #3 from merl <[email protected]> ---
I need to limit the number of some unrelated sge jobs running in paralell. For
example if too much scripts editing in mediawiki are running i could hit a
ratelimit (technical limited or per local rule for bots).

For this reason on TS i addded a resource quota set called "userslots". Every
users have 10 slots available globally. So scripts requesting resource "-l
user_slot=10" were executed sequential or with "-l user_slot=5" only two jobs
can run in paralell and so on. But another maximum number would be ok for me,
too.

For documentation this is the current config on TS:
$qconf -srqs userslots
{
   name         userslots
   description  Limit users to 10 "user" slots
   enabled      TRUE
   limit        users {*} hosts * to user_slot=10
}

$qconf -sc
#name      shortcut  type relop requestable consumable default  urgency 
#----------------------------------------------------------------------
user_slot  user_slot INT  <=    YES         YES        0        0

$qconf -se global
hostname        global
complex_values  user_slot=2048

The last value (2048) must be only greater than 10 * "maximum slots per host"
(which is currently 100 on labs), so that this host conf limit in never hit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to