[Mauiusers] TORQUE - how to restrict the allowed number of queued jobs in a routing queue to 0

Garrick Staples garrick at usc.edu
Wed Nov 11 09:38:27 MST 2009

On Wed, Nov 11, 2009 at 11:05:53AM +0100, Lech Nieroda alleged:
> Dear list,
> here is the situation - we have two execution queues, each one with
> the attribute max_queuable=8, respectively, and a default queue which
> routes jobs to these two queues.
> The goal is to allow up to 16 jobs in the system at any given time and
> reject any further jobs.
> I've tried to accomplish this by setting max_queuable=0 on the default
> routing queue, assuming that it would still route jobs if the
> destinations allow it but reject the jobs otherwise.
> However, this doesn't work - the routing queue doesn't allow any jobs.
> Setting max_queuable=1 allows up to 17 jobs in the system (8 in each
> exec queue and 1 waiting in the routing queue) which doesn't quite
> meet the requirements.

You might be able to trick it with a 3rd execution queue that has ACL
restrictions against all jobs.  The routing queue would then reject the job
with "rejected by all destinations".

Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20091111/ef356646/attachment.bin 

More information about the mauiusers mailing list