-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JVM does not exit after failed tasks are complete #1457
Comments
I have the same problem. For me the only way to resolve it was to set "errorStrategy" to "terminate" or reduce "maxForks" to 1. Edit: For me this even happens on a local docker setup. |
This may be related to #1432. |
I think this issue reported above. Feel free to reopen if still happens with a version including that patch. |
Hmm, I just tried it with 20.04.1 and it did not solve the problem for me. (you can see that GH Actions CI runs indefinitely since the command in the process is not going to work.) For manual replication, just clone and run |
Sorry, after creating this minimal example I think it is just an error in the configuration and resource allocation in retries. |
Unfortunately, I cannot find a real pattern in when the execution stalls after an error though. It would be great if someone could still have a look at the example I gave. |
Bug report
The JVM hangs sometimes after an error.
Expected behavior and actual behavior
After all the tasks have completed/failed, the JVM should exit after reporting the error message, however sometimes it does not.
Steps to reproduce the problem
These particular steps are not reproducible outside the Swedish Computer cluster, but there are others on the nf-core help channel who have also encountered the JVM hanging, and not using the Swedish cluster specific profile (uppmax).
The profile
uppmax
also needs the--project
parameter set in order not to fail, so the pipeline failed as expected, however the JVM did not exit, even after 40 mins.Program output
This is the terminal output:
Nextflow log:
nextflow.log
Jstack trace at point JVM had hung:
jstack.log
Environment
The text was updated successfully, but these errors were encountered: