Architecting, installing and maintaining your SAS environment

Limit number of concurrent Grid jobs by a user.

Reply
Occasional Contributor
Posts: 17

Limit number of concurrent Grid jobs by a user.

Hello, how do I cap the maximum amount of jobs a user can run across the whole grid at the same time without having to send the person to a different queue? Right now, we are using the normal queue for everything. 

Super Contributor
Super Contributor
Posts: 358

Re: Limit number of concurrent Grid jobs by a user.

if you using RTM -> when you click on your "configuration" (whatever name you gave) and go to "batch users" -> click on "Add" and then you can provide username and x number of jobs you want...for "max jobs" option,,,

 

hope this helps,

Occasional Contributor
Posts: 17

Re: Limit number of concurrent Grid jobs by a user.

We were advised to not use RTM.  I do everything via command line and editing configs. Do you know how I can do this on the command line? 

Super Contributor
Super Contributor
Posts: 358

Re: Limit number of concurrent Grid jobs by a user.

not sure but look out for lsb.users configuration file - I think you can use it to configure

Moderator
Posts: 252

Re: Limit number of concurrent Grid jobs by a user.

Curious to know why you can't use RTM..

 

Anyway, I think the setting you want is UJOB_LIMIT - the maximum job slots per user in a queue.

 

I think it is found/set in the queue options in $LSFCONFIG/conf/lsbatch/cluster_XYZ/configdir/lsb.queues

Occasional Contributor
Posts: 17

Re: Limit number of concurrent Grid jobs by a user.

Posted in reply to AndrewHowell

I was advised not to use RTM because it was being discontinued. 

 

UJOB_LIMIT will work, but I was looking for a universal rule across all queues.

 

Thank you.

SAS Super FREQ
Posts: 299

Re: Limit number of concurrent Grid jobs by a user.

Hi,

 

curious as well about the RTM.

Are you using the Grid Manager module in SAS Environment Manager?

 

Using either RTM or the Grid Manager module in SAS Environment Manager can make

administering your Grid a bit easier.

 

Thanks

Anja

Occasional Contributor
Posts: 17

Re: Limit number of concurrent Grid jobs by a user.

I was told RTM was being discontinued. I am using the Grid Manager module in SAS Environment Manager.

SAS Employee
Posts: 1

Re: Limit number of concurrent Grid jobs by a user.

I believe what you want is the Per-user job slot limit.  In the Grid Manager module it is under Batch Hosts on the Advanced tab.

Ask a Question
Discussion stats
  • 8 replies
  • 350 views
  • 2 likes
  • 5 in conversation