-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Control-C does not stop worker processes #3805
Comments
I recall at one point we almost moved the |
The idea would be to have a separate mechanism for signaling workers, since ^C by itself is ambiguous. Sometimes you might want to just interrupt a local loop and leave alone background things. |
How about
|
If we can keep the |
Maybe we could have ^C interrupt only the repl process if it's in the middle of running something, but send to all workers if typed at the prompt with nothing running locally. That way if you have "background" tasks running on workers and you enter |
Sounds good to me. ^C^C can be used to interrupt both a local waiting pmap and stuck remote workers. The detection of whether anything is running locally will be done in the |
Maybe ^C should also interrupt the workers in a |
We now have |
I keep filing bugs about ^C and various functionality, so please set me straight if this isn't supposed to work, but when I press ^C, it doesn't seem to halt worker processes:
At this point, the worker processes are still executing and taking up a core each. If I try to run something on them, Julia just hangs:
If I press ^C again, I can get back to the REPL, but the workers continue to run even after I exit Julia. Setting
err_stop=true, err_retry=false
inpmap
doesn't seem to help, and I get the same behavior with@everywhere
.The text was updated successfully, but these errors were encountered: