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!

Attachment: pgpY9fbMqqktC.pgp
Description: PGP signature

_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to