-
Notifications
You must be signed in to change notification settings - Fork 13
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
Started processes should be killed on SIGINT #7
Comments
This is very good stuff! Tests show that even though the ssh processes are indeed killed, the queries on the remote server are not killed. Unfortunately, that detail makes the feature less than ideal. Let's spend a little more time to see if we can change ssh's behaviour on termination. Perhaps a different termination signal does the job. |
I'll merge it and then start testing with |
It was more complicated than we thought. This is a very insightful response: https://serverfault.com/questions/463366/does-getting-disconnected-from-an-ssh-session-kill-your-programs/463375#463375?newreg=262ab662145f48e6b09d66fe21310cae The mysql client process will terminate shortly. That doesn't mean at all that the mysql server will abort the query. We can look into a configuration in the mysql client exec call to make it abort queries on HUP, but there is nothing we can do from the ssh command. |
Also I discovered today we can use the
10 seconds later…
|
I'm afraid this is a limitation of the |
No description provided.
The text was updated successfully, but these errors were encountered: