-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nsenter: cloned_binary: add memfd_create(2) opt-out
memfd_create(2) added ~10M of memory usage to the cgroup associated with the container, which can result in some setups getting OOM'd. The nicest way of solving this was to add _LIBCONTAINER_DISABLE_MEMFD_CLONE as an environment setting to disable memfd_create(2) usage and instead use temporary files that are placed within the runc state directory. Signed-off-by: Aleksa Sarai <asarai@suse.de>
- Loading branch information
Showing
1 changed file
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters