I think,
condor_reconfig -startd should do the trick, also for testing you can use condor_status will send you a separate e-mail ...
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" <thomas.birkett@xxxxxxxxxx>
An: "Christoph Beyer" <christoph.beyer@xxxxxxx>, "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
CC: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
Gesendet: Donnerstag, 9. Januar 2025 17:05:07
Betreff: 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
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
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

_______________________________________________
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/