-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch implements two limits: 1) The number of active groups per user (default: 100) 2) The number of pending jobs per group (default: 10000) The limits can be changed at compile time e.g. EXTRA_CFLAGS="$EXTRA_CFLAGS -DMXQ_MAX_ACTIVE_GROUPS_PER_USER=200" EXTRA_CFLAGS="$EXTRA_CFLAGS -DMXQ_MAX_PENDING_JOBS_PER_GROUP=20000" make install EXTRA_CFLAGS="$EXTRA_CFLAGS" mxsub will abort with an error message if adding a further job would exceed a limit. E.g.: ERROR: Limit of 10000 pending jobs per group reached for group_id 20 ERROR: Limit of 100 active groups reached for user buczek An active group is a group with pending (inq) or running jobs.
- Loading branch information
Showing
2 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters