[Moabusers] Limit the job submission per user

Michael Santos msantos at stsci.edu
Thu Jul 26 15:06:53 MDT 2007


Josh,

If your goal is to limit the total of idle jobs each user has, I  
think you can do that by placing

USERCFG[DEFAULT] MAXIJOB=10

in moab.cfg (Moab Admin Guide Section 6.2.3).  You could combine that  
with a limit on active jobs with

USERCFG[DEFAULT] MAXJOB=10 MAXIJOB=10

in moab.cfg (Moab Admin Guide Section 6.2.1). This would presumably  
stop "queue stuffing", if that is your goal.

However, if your goal is to constrain active+idle jobs <= 10 for each  
user, then I don't know how to do that in moab.  Presumably a wrapper  
script that queried moab could accomplish it.

Good luck.

Regards,
Michael Santos
Space Telescope Science Institute

On Jul 26, 2007, at 2:36 PM, group hpc wrote:

> Hi all,
>
> Does anyone know how to limit the user to submit more jobs using  
> moab or wrapper script? We would like to limit each user can only  
> submit up to 10 jobs. If the user hit the max limit, he/she not  
> able to submit any new job until there's job completed. Pls help...  
> Thanks.
>
> -- 
> Best Regards,
> Josh
> _______________________________________________
> moabusers mailing list
> moabusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/moabusers



More information about the moabusers mailing list