Limit the number of queued subjobs

Hello,

Is there a way to limit the number of queued jobs (including subjobs)? Apparently, queued_jobs_threshold does not count the subjobs. This seems to me strange since, as far as the server resources are concerned (CPU and memory used by the scheduler, keeping the job history, etc.), subjobs are not principally different from non-array jobs.

Please refer this documenation: Document: https://help.altair.com/2024.1.0/PBS%20Professional/PBS2024.1.pdf
Check this section: 10.23 Managing Job Array Behavior ( elim_on_subjobs )

Unfortunately, the current open-source version (23.06.06) doesn’t support it. Is there a patch to enable this functionality?

As a matter of fact, I couldn’t find this functionality in the GitHub master branch, either. Aren’t the commercial and open-source PBS supposed to be using the same codebase?