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

Re: [HTCondor-users] Limit a particular user to a certain number of jobs



Hi Christoph,

 

Thank you for the direction, I will experiment with this. Do you know if this would require a restart of the startd daemon to apply?

 

Many thanks,

 

Tom

 

From: Beyer, Christoph <christoph.beyer@xxxxxxx>
Date: Wednesday, 8 January 2025 at 11:41
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: Condor-Users Mail List <condor-users@xxxxxxxxxxx>, Birkett, Thomas (STFC,RAL,SC) <thomas.birkett@xxxxxxxxxx>
Subject: Re: [HTCondor-users] Limit a particular user to a certain number of jobs

Hi,

 

I just looked into that the other day and you can use the countevent feature inside the start _expression_, found this in an older post from Todd but did not test it:

 

START=$START && countMatches(x==User,eval(strcat("{ [x=\"",join("\";], [x=\"",ChildRemoteUser),"\"] }"))) < 2

 

Best

christoph
--
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx

 


Von: "Thomas Birkett - STFC UKRI via HTCondor-users" <htcondor-users@xxxxxxxxxxx>
An: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
CC: "thomas birkett" <thomas.birkett@xxxxxxxxxx>
Gesendet: Dienstag, 7. Januar 2025 12:23:58
Betreff: [HTCondor-users] Limit a particular user to a certain number of jobs

 

Hi Condor Community,

 

Hopefully, a simple question that I’m over thinking and making too complex. Is there a way to limit a particular user to only run a certain number of jobs per startd? If possible I’d like to avoid restarting the startd for changing this users limit per startd.

 

Many thanks,

 

Thomas Birkett

Senior Systems Administrator

Scientific Computing Department  

Science and Technology Facilities Council (STFC)

Rutherford Appleton Laboratory, Chilton, Didcot 
OX11 0QX

 

signature_609518872

 

 


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/