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

Re: [HTCondor-users] How to change default PRIORITY_HALFLIFE



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/