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

Re: [Condor-users] 12 second delay when submitting a DAG



On Tue, 5 Oct 2010, David Arthur wrote:

When submitting a DAG, I see the following output:

10/05 13:29:23 Sleeping for 12 seconds to ensure ProcessId uniqueness

I would really like to avoid the 12 second sleep as this is a
low-latency application. Is there a configuration or argument for
`condor_dagman` that will avoid this sleep?

If you set the configuration macro DAGMAN_ABORT_DUPLICATES to false, you'll skip the 12 second sleep.

You can set the DAGMAN_ABORT_DUPLICATES value in a per-DAG configuration file, or by setting _CONDOR_DAGMAN_ABORT_DUPLICATES to false in your environment when you run condor_submit_dag. If you want to set it for *every* DAG you run, you can put the setting into the "global" Condor config file(s).

The down side of doing this is that if you accidentally launch two copies of the same DAG at the same time, they'll step on each others toes and get things into a goofed-up state (most likely neither DAG will finish).

Kent Wenger
Condor Team