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

Re: [HTCondor-users] hold job



Try

 

   condor_config_val -verbose SYSTEM_PERIODIC_HOLD

 

You may have a later config file that is overriding the value.

-verbose will show the file and line number of the last definition.

 

-tj

 

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Rita
Sent: Wednesday, July 19, 2023 10:17 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] hold job

 

ok, seemed like there is an issue with variable expansion. Is there a way to lint my configuration? Or validate if variables evaluate properly?

 

On Wed, Jul 19, 2023 at 10:51âAM Beyer, Christoph <christoph.beyer@xxxxxxx> wrote:

what does

 

condor_config_val SYSTEM_PERIODIC_HOLD

 

say ?

 


--
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: "Rita" <rmorgan466@xxxxxxxxx>
An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Gesendet: Mittwoch, 19. Juli 2023 16:33:16
Betreff: Re: [HTCondor-users] hold job

 

I went with SYSTEM_PERIODIC_HOLD = true and the job still doesn't get held! 

 

On Wed, Jul 19, 2023 at 10:27âAM Rita <rmorgan466@xxxxxxxxx> wrote:

Any other ideas? I am puzzled why it doesn't work. If I put the logic for hold in my submit file it works. Not sure why system_periodic_hold doesn't work. Could it be a bug? 

 

On Wed, Jul 19, 2023 at 9:59âAM Beyer, Christoph <christoph.beyer@xxxxxxx> wrote:

oh, that is just as I have additional statements adding up to the periodic hold and I like to have the hold reason later in the hold table ...

 


--
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: "Rita" <rmorgan466@xxxxxxxxx>
An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Gesendet: Mittwoch, 19. Juli 2023 15:55:46
Betreff: Re: [HTCondor-users] hold job

 

Oddly, my statement is much simpler. I am not sure why its not being held. Anything else I should be looking for?

 

On Wed, Jul 19, 2023 at 9:53âAM Beyer, Christoph <christoph.beyer@xxxxxxx> wrote:

Hi again,

 

we use this to allow not more than 3 time the memory consumption - culprit requestmemory is measured in MB while residentsetsize is measured in KB (therefor you need factor 1.000). I don't remember out of my head why we did not use MemoryUsage for this but I think it was not set most of the time during runtime of the job maybe (?)

 

HoldOverMem = (ifThenElse(ResidentSetSize =!= UNDEFINED, ResidentSetSize,1) > 3000 * RequestMemory)
HoldOverMemReason = "Memory usage higher than 3 x requested memory"
SYSTEM_PERIODIC_HOLD = $(SYSTEM_PERIODIC_HOLD) || $(HoldOverMem)
SYSTEM_PERIODIC_HOLD_REASON = ifThenElse($(HoldOverMem), $(HoldOverMemReason), \
    $(SYSTEM_PERIODIC_HOLD_REASON) )

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: "Rita" <rmorgan466@xxxxxxxxx>
An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Gesendet: Mittwoch, 19. Juli 2023 15:02:38
Betreff: Re: [HTCondor-users] hold job

 

Its in my config file. 

Submit file  looks like this

executable = /bin/perl

arguments = code.pl

request_memory=10

queue

 

 

On Wed, Jul 19, 2023 at 8:34âAM Greg Thain via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:

On 7/19/23 06:54, Rita wrote:
> Running 10.x
> I have a statement like this
>
> ABC=( MemoryUsage > RequestMemory )
> system_periodic_hold = false || $(ABC)


Hi Rita:

Is this in your submit file or in your config file?

-greg


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



--

--- Get your facts first, then you can distort them as you please.--


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



--

--- Get your facts first, then you can distort them as you please.--


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



--

--- Get your facts first, then you can distort them as you please.--



--

--- Get your facts first, then you can distort them as you please.--


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


 

--

--- Get your facts first, then you can distort them as you please.--