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

Re: [HTCondor-users] Using classads in DOCKER_EXTRA_ARGUMENTS



On 8/22/22 05:56, Joachim Meyer wrote:
Hi all,
I wanted to make the --shm-size= argument of docker configurable on a per-job
basis and thus tried setting the following options:


Sadly, there's no good way to do this in HTCondor today -- the value of the

DOCKER_EXTRA_ARGUMENTS is always a fixed string, and it is not evaluted in the context of the job or slot ad. However, what we do here at CHTC is set --shm-size to a high value. HTCondor always runs docker jobs with a memory limit, and the memory used by /dev/shm counts against that, so there should be little downside to setting -shm-size high for all jobs.


-greg