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

Re: [HTCondor-users] hold job



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/