[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] How to limit the number of running jobs on a startd?



Hi Zach,

that was easier than I expected :)
Thanks!

Cheers,
Jose

El mar, 1 dic 2020 a las 16:41, Zach Miller (<zmiller@xxxxxxxxxxx>) escribiÃ:
>
> Hi Jose,
>
>
>
> Assuming these are single core jobs, you can just set:
>
>     NUM_CPUS = 26
>
>
>
> In the config on your execute machines.  This should work whether you are using static or partitionable slots.
>
>
>
>
>
> Cheers,
>
> -zach
>
>
>
>
>
> -----Original Message-----
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
> Date: Tuesday, December 1, 2020 at 9:54 AM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: [HTCondor-users] How to limit the number of running jobs on a startd?
>
> Hi,
>
>
>
> Is it documented somewhere the options to limit the number of jobs on
>
> a given host?
>
> Let's say, for example, you have a host with 32 slots. By default it
>
> can have 32 concurrent jobs. Are they easy ways to limit that to, for
>
> example, 26 jobs?
>
>
>
> I see there is a classad MAX_JOBS_RUNNING, but it seems to be for the
>
> schedd. Can it be used on the startd?
>
>
>
> Any suggestion is more than welcome.
>
> If documented somewhere, a link would be very helpful.
>
>
>
> Cheers,
>
> Jose
>
> _______________________________________________
>
> 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/
>
>
>
>
>
> _______________________________________________
> 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/