Skip to content
Snippets Groups Projects

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

Merged 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

Merged by Matthias SchnepfMatthias Schnepf 4 years ago (Aug 28, 2020 2:41pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading