Michael Cariaso
10/31/2025, 4:23 PMThomas Danhorn
10/31/2025, 4:53 PMrm -rf fails, I think we can safely assume that this problem is not specific to sarek, but probably, as you said, rooted in Fusion/S3. Maybe there is someone over at the Nextflow Slack (possibly in #fusion-fs or #infrastructure-aws) who has experience with that or has some ideas.
If you have any hints that this problem may be load-related (your statement that it is "reproducible" would argue against that), what you could do from the pipeline side is try to throttle it, e.g. with process.maxForks or executor.queueSize ...Michael Cariaso
10/31/2025, 4:55 PMThomas Danhorn
10/31/2025, 4:59 PMMichael Cariaso
10/31/2025, 4:59 PMprofiles {
awsbatch {
executor {
// still unclear on this setting
queueSize = 1
}
}
}
but its voodoo, and I don't know if it's achieving anything.Thomas Danhorn
10/31/2025, 5:12 PMawsbatch nf-core profile (I would think it does), or does it just add to it? Because the former seems not like a good idea.
I think this should be OK:
executor {
name = 'awsbatch'
queueSize = 1
}
A queue size of 1 ensures that only one process runs at the same time, which kind of defies the idea of a (virtual) cluster -- you might as well run on a single server/VM. On a physical HPC/cluster, where there is one storage system, throttling can definitely help. I have no idea what the effects would be in the cloud, where everything seems more distributed (and you have a lot of other users) ...
For testing, you could use sarek's --step and a reduced samplesheet to only target potentially problematic steps and samples.