Import control groups file for Singularity to limit container memory consumption #2214
Unanswered
matt-sd-watson
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This would be desirable, however, Nextflow has not direct support for cpus and memory confinement when using singularity due to the lack of specific CLI options. However you should still be able to control the use of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We have configured a Nextflow pipeline to run through a Singularity container.
Is there an explicit way to be able to use a control group file: https://sylabs.io/guides/3.0/user-guide/cgroups.html within Nextflow to limit Singularity memory consumption? We would like to apply Singularity memory limits on a local run of Nextflow.
I am not able to find any specific configuration scope parameters that allow for use of this file at runtime using Nextflow run:
https://www.nextflow.io/docs/latest/config.html#config-singularity
Any assistance would be appreciated, thank you!
Beta Was this translation helpful? Give feedback.
All reactions