Nextflow process not properly killed after error #2952
Unanswered
lbrandhoff-w
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am running nextflow via slurm on an HPC using two slurm partitions.
One these contains only illumina dragen servers.
Whenever theres an error in the partition with the dragen servers it gets recognised correctly by nextflow which can be seen in the nextflow logfile:
Then, all processes independant of the error process finish - as expected.
But then a process randomly pops up and keeps nextflow running for an unlimited amount of time. This can only be stopped by manually killing nextflow. The log entries look like this:
Interestingly this is not the case if an error occurs in the other slurm partition.
The
merge_func
process is downstream of thedragen_basic
process but there are multiple steps between them. So there is definitely no input for the merge_func process.From debugging I found out that this code block generates a single empty instance of the
merge_func
input channelch_res_func
:This mpty channel instance is what keeps the process in the submission queue. Also,
ch_res_func
is the only input for themerge_func
channel.I also checked the
ch_output_func
channel, but nothing is contained there at any point.I am a bit puzzled why this is happening, especially only with errors from the dragen slurm partition.
I use this software for running nextflow:
Beta Was this translation helpful? Give feedback.
All reactions