Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

There are four parameters that may be set up in the qb.conf file on the supervisor to control the subjobs limits. The two parameters supervisor_default_user_subjob_limit and supervisor_default_pgrp_subjob_limit are used to set up the global default subjob limit for every user and every pgrp, respectively, as in:
supervisor_default_user_subjob_limit = 10 supervisor_default_pgrp_subjob_limit = 5
By default, these are set to "-1", which means "no limit".The administrator may also use the following two parameters, supervisor_user_subjob_limits and supervisor_pgrp_subjob_limits, to override the global subjob limits for particular users:
supervisor_user_subjob_limits = elvin=20,tony=15,max=15,root=-1supervisor_pgrp_subjob_limits = elvin=10,tony=10,root=-1
Again, the value "1" means "no limit".In the examples above, each user, by default, can run up to 10 subjobs simultaneously.  Also by default, a user may only run up to 5 subjobs per pgrp.  However the user "elvin" is allowed to run up to 20 subjobs total, and up to 10 subjobs per pgrp.  The user "root" has no limits.The user subjob limit takes precedence over the pgrp limit- that is, if user "phillyjoe"s pgrp subjob limit is set to 10, but his user limit is 5, he may only run 5 subjobs.  The user and pgrp subjob limits work independently otherwise, and a site doesn't necessarily have to use them both (you may just deploy user subjob limits, but not pgrp subjob limits, or vice-versa).Restart the supervisor for the changes to take effect.

  • No labels