nextflow icon indicating copy to clipboard operation
nextflow copied to clipboard

List active operators that may hang the script execution

Open msmootsgi opened this issue 9 years ago • 1 comments

We ran into a situation where we refactored some operators and introduced a bug that caused the channel in question to remain open rather than close as we expected. This open channel caused the whole pipeline to hang. We saw this warning in the logs:

[Thread-1] DEBUG n.processor.TaskPollingMonitor - !! executor local > tasks to be completed: 0 -- first: null 

It would be really helpful in this situation to also print a list of open channels. This would have helped us pinpoint the problem much quicker.

msmootsgi avatar Mar 29 '17 15:03 msmootsgi

This is now available in version 0.25.0-RC2. When the execution is aborted in the log files are reported the processes and operators still active (if any).

pditommaso avatar Jun 12 '17 16:06 pditommaso