-
July 11th, 2008 04:13 PM #1
Slot Restrictions for Individual User
Originally posted by: JPummill, Fri Jan 12, 2007 3:19 pm
I need to be able to assign a slot limit for a user (users) on an individual basis as we are about to start using one of our appliances for a teaching tool during the spring semester. I have one user who keeps the queue full of jobs (and I appreciate this ), but for the semester, I need to cut back the slots available to her so that half of the cluster is free for the class.
Easy mod?
-
July 11th, 2008 04:14 PM #2
Originally posted by: ddunlap, Fri Jan 19, 2007 1:28 pm
There are several ways to keep one user from hogging all the job slots in LSF. Here's one way to do it...
Edit lsb.resources, add a "limit". Here's an example, using "vertical tabular format":
Begin Limit
USERS QUEUES HOSTS SLOTS
shirley normal - 5
fred - hostA 2
jane - - 4
End Limit
This would limit user "shirley" to only 5 job slots at a time in the "normal"
queue, regardless of what host she's running on. It also limits user "fred" to only 2 slots at a time on "hostA", regardless of which queue. And "jane" is limited to 4 slots at a time, no matter what queue(s) or host(s).
The man page for lsb.resources shows some other examples of this.
Hope this helps,
Dale
_________________
Dale Dunlap
Technical Consultant
-
July 11th, 2008 04:15 PM #3
Originally posted by: JPummill, Sat Jan 20, 2007 7:15 pm
Worked perfectly Dale!
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules