-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
qcluster
command doesn't handle interrupts.
#56
Comments
|
The cluster command does explicitly handle interrupts, it's just that the child processes ignore interrupts and only look to the parent process for a stop signal. Which doesn't really work well when that process just crashed. I'll experiment a little to see what can be improved there. More interesting is your error. I assume you installed ``psuti |
Indeed, yes, I installed |
Unfortunately it seems that All I can do is add a clause to catch this exception. |
OK. That's interesting. 10.5 was a while ago... is there a link to an issue somewhere? |
There is this giampaolo/psutil#238 , but it got closed since no one replied to the OS X portion of it. By the way, if you are just planning on developing on OS X and deploying on a different platform that does support cpu_affinity. You can set the |
OK. Cool. Thanks. (Side note: the |
Is there any chance you could try the Dev branch for me? I made it so it will warn you in the log that cpu affinity is not supported and then continue the code as if |
No problem. Will report back later on. |
#56 cpu_affinity not supported on some platforms
The management command is intercepting interrupts but then not handling them.
Thus I get an error and can't exit...
I have to kill the shell and start over. It would be nice if
^C
worked here.The text was updated successfully, but these errors were encountered: