_______________________________________________You only need to change the value on the Central Manager because only the condor_negotiator process looks at this configuration variable
Â
-tj
Â
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of gagan tiwari
Sent: Thursday, February 16, 2023 9:35 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] How to change default PRIORITY_HALFLIFEÂ
Hi Guys,
         ÂPlease update.Â
Â
On Thu, Feb 16, 2023 at 9:22 AM gagan tiwari <gagan.tiwari@xxxxxxxxxxxxxxxxxx> wrote:
Hi Greg,
          ÂThanks for your email. I have been able to set it on a machine that runs the central manager by addingÂthe entry in the local.config file.Â
So, when I runÂ
Â
[root@test1 ~]# condor_config_val ÂPRIORITY_HALFLIFE
21600Â
It shows the changed value.Â
Â
But , running the same command on schedulerÂhost and executor hosts still shows the default value 86400.Â
Â
[root@test2 ~]# condor_config_val PRIORITY_HALFLIFE
86400Â
I have restarted condor on them but still they show default value.Â
Â
Do I need to change it on schedulerÂhost and executor hosts also by adding the same entry in their local.config file as I did on central manager host ?
Â
Thanks,
Gagan
Â
On Thu, Feb 16, 2023 at 12:07 AM Greg Thain via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
On 2/15/23 09:00, gagan tiwari wrote:
Hi Guys,
        We need to changeÂPRIORITY_HALFLIFEÂÂfrom default 24 hrs. to 6 hrs.
I tried it by running below on the master host , but it failed.
Â
While you can set PRIORITY_HALFLIFE with condor_config_val, we would recommend that you set this statically in one of the condor config files. This way, you can put a comment above the setting, describing who set it, when you set it, and what it is doing. In the condor config directory on your machine that runs the central manager, add lines like
Â
# 2/15/23 MyInitials -- lowering PRIORITY_HALFLIFE to xxx (6 hours) so that
# priorities have less history
PRIORITY_HALFLIFE = 21600_______________________________________________
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/