Skip to content

Update docker_wrapper script to set hard memory limit w/o swap

Maximilian Horzela requested to merge mhorzela-master-patch-79626 into master

A hard limit on the memory swap in docker can be only set by setting the --memory-swap Option to the same value as --memory (see Docker documentation. This is currently not possible to implememnt using the DOCKER_EXTRA_ARGUMENTS functionality of HTCondor, since it seems to only support pure strings as extra arguments (see Docker-API in HTCondor and the corresponding argument adaption).

Therefore a workaround using the docker_wrapper.py script is implemented, which adjusts the parameters with which the docker create command is run in HTCondor.

Merge request reports

Loading