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

Re: [HTCondor-users] Is it possible to immediately suspend jobs of a DAGman job?



Mark,

Thanks for your reply! It works now. But looks like the slot is still claimed, not released, is that expected? or we need to set some configs like "keep_claim_idle" to release it?

hufh

On Thu, Jan 3, 2019 at 2:22 AM Mark Coatsworth <coatsworth@xxxxxxxxxxx> wrote:
Hello,

The behavior you're seeing is as expected. Running condor_hold on a running DAGMan will only hold DAGMan itself, not any jobs running under it.

If you want to suspend the jobs running under DAGMan, you have to do this manually:

condor_hold <DAGManJobId>
condor_hold -constraint "DAGManJobId == <DAGManJobId>"

Later, to release them all again:

condor_release <DAGManJobId>
condor_release -constraint "DAGManJobId == <DAGManJobId>"

Hope this helps,

Mark



On Wed, Jan 2, 2019 at 9:35 AM hufh <hufh2004@xxxxxxxxx> wrote:
Hi all,

I am using DAGMan to run jobs, and want to suspend it, but i only found that condor_hold can't immediately stop running jobs until next ones. I have tried condor_suspend, but looks like it doesn't work for DAGman jobs, could you tell me if a DAGman jobs can be immediately suspended? Thanks a lot!

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


--
Mark Coatsworth
Systems Programmer
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin-Madison
+1 608 206 4703
_______________________________________________
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/