Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions doc/lsst.ctrl.bps.htcondor/userguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,22 @@ initially run with 2 GB of memory and failed because of exceeding the limit,
result the entire workflow fails again due to other reasons, the job will ask
for 2 GB of memory during the first execution after the workflow is restarted.

If you did not set the ``memoryMultiplier`` option, this command:

.. code-block:: sh

condor_q -hold $USER

will show any held jobs and the reasons for their being held, including running out of memory.

This command:

.. code-block:: sh

condor_q $USER | awk '{if($6 == "H") print "condor_qedit",$1,"RequestMemory 4096; condor_release",$1}' | bash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes all of the user's held jobs are from runs submitted without automatic tries and are held because of memory issues. But based on questions I've seen on slack this is more than likely the case. We can update this later to be more complicated but more accurate if actually need it.


will take any held jobs, change their requested memory size to 4096 MiB, and release them to be run again.

.. _htc-plugin-troubleshooting:

Troubleshooting
Expand Down