[torqueusers] How to limit jobs on per-user basis

Jon Akers jka at hpc.ufl.edu
Tue Jul 15 13:58:40 MDT 2008

Garrick Staples wrote:
> On Tue, Jul 15, 2008 at 01:27:51PM -0400, Jon Akers alleged:
>> We have a 1600 core system running Torque + Moab, and we are starting to 
>> run into an issue where a single user is submitting an inordinantly 
>> large number of jobs (at last count, the number of jobs from one user is 
>> at 24,234)
>> While the scheduler is handling this without any real issue, we would 
>> like to be able to limit the number of jobs any single user can submit. 
>> Basically, if user "A" submits 1,000 jobs, their 1,001 job will be 
>> rejected by the scheduler until one of those jobs completes. Meanwhile, 
>> any other user should be able to submit jobs without issue up to that limit.
>> Any ideas on how we would do this?
> I don't know about configuring this at the scheduler level (probably want to
> ask that question on the moab list), but you can do it in pbs_server with the
> max_user_queuable queue parameter.
Looks like this is the solution that is working for us. By pushing it to 
the torque level instead of letting Moab deal with it, Moab never sees 
the job if it exceeds a set limit of jobs for that user. As such it 
never adds it to a queue and instead it simply gets rejected.

More information about the torqueusers mailing list