Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] MAX_JOBS_PER_OWNER
- Date: Mon, 03 Oct 2016 09:37:55 -0500
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] MAX_JOBS_PER_OWNER
On 10/3/2016 6:02 AM, Alessandro Italiano wrote:
Hi
I need to limit the number of jobs a user can submit to the schedd.
I tried to use MAX_JOBS_PER_SUBMISSION, and it works as expected.
Submission with a queue command >= MAX_JOBS_PER_SUBMISSION fails.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s).......
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_SUBMISSION
How MAX_JOBS_PER_OWNER should work ?
In the following example I tried to submit a job with a "queue 4" command.
as you can see cluster 116 has not been submitted while cluster 119 has
been correctly submitted.
is it the expected behaviour ?
Yes, I would expected cluster 119 to successfully submit assuming that
four or more earlier submitted jobs completed or otherwise were removed
from the queue. How long do your sleep jobs run? Is it possible that
between submission of cluster 113 and cluster 119 that four of your jobs
completed?
regards,
Todd
[root@ui01 ~]# condor_status -version
$CondorVersion: 8.4.9 Sep 29 2016 BuildID: 382747 $
$CondorPlatform: x86_64_RedHat6 $
[root@ui01 ~]# condor_config_val -dump| grep MAX_JOBS_PER
MAX_JOBS_PER_OWNER = 8
MAX_JOBS_PER_SUBMISSION = 8
[root@ui01 ~]#
[root@ui01 ~]#
[italiano@ui01 ~]$ grep queue sleep
queue 4
[italiano@ui01 ~]$
[italiano@ui01 ~]$
[italiano@ui01 ~]$
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 113.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 114.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 115.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 119.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 120.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)
ERROR: Failed to create proc
Number of submitted jobs would exceed MAX_JOBS_PER_OWNER
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 127.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 128.
[italiano@ui01 ~]$ condor_submit sleep
Submitting job(s)....
4 job(s) submitted to cluster 129.
[italiano@ui01 ~]$
thanks in advance
Ale
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
--
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing Department of Computer Sciences
HTCondor Technical Lead 1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132 Madison, WI 53706-1685