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

Re: [HTCondor-users] Enforce DiskUsage

To put a job on hold when itâs disk usage exceeds its request, add this to the configuration of your execute node



  DISK_EXCEEDED = (JobUniverse != 13 && DiskUsage =!= UNDEFINED && DiskUsage > RequestDisk)

  use POLICY : WANT_HOLD_IF( DISK_EXCEEDED, 105, disk usage exceeded request_disk )


The choice of 105 for the hold subcode is arbitrary here, you can use a different value if you like.

We ignore VM universe (universe 13) because VM disk usage is handled differently than vanilla universe.


I donât understand what you mean by this question


> Will it include the job output as well?


When a job goes on hold, the output if the job is not returned to the user, is that the question?




From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of duduhandelman@xxxxxxxxxxx
Sent: Thursday, November 12, 2020 2:25 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Enforce DiskUsage


Hi All.

What will be the best way to put job on hold when the DiskUsage >= requested disk?

Will it include the job output as well?

The reason is that one user can fill the disk for all running jobs.


Thank you..





Sent from my Mi phone