Based on SLURM resource limits, you can limit the total number of tasks you can perform for the / qos association with MaxJobs . Recall that an association is a combination of a cluster, account, username, and (optional) section name.
You can do something similar to:
sacctmgr modify user <userid> account=<account_name> set MaxJobs=10
I found this presentation to be very helpful if you have more questions.
source share