You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Pegasus doesn't handle ctrl-c very well. When the user presses ctrl-c, Pegasus terminates without cancelling the SSH session tasks. So the ssh sessions remain open, .ssh-connection* directories stay as is, and in order to kill the processes spawned on remote nodes, I need to walk into each node and kill them manually.
Potential solutions
One method would be to propagate the signal to all child ssh processes. Proper error handling inside the tasks would probably serve as an okay solution.
Another method I'd like to explore is to see if using the native-mux feature of the coming openssh crate will make graceful shutdown any easier.
The text was updated successfully, but these errors were encountered:
Currently, Pegasus doesn't handle
ctrl-c
very well. When the user pressesctrl-c
, Pegasus terminates without cancelling the SSH session tasks. So thessh
sessions remain open,.ssh-connection*
directories stay as is, and in order to kill the processes spawned on remote nodes, I need to walk into each node and kill them manually.Potential solutions
ssh
processes. Proper error handling inside the tasks would probably serve as an okay solution.native-mux
feature of the comingopenssh
crate will make graceful shutdown any easier.The text was updated successfully, but these errors were encountered: