-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
Client process lingers around after ssh disconnect #1326
Comments
#1414 brought to attention that this is also a problem on local machines without involving ssh at all:
Also, on shutdown/reboot systemd waits for the process to exit upon SIGTERM, which does not happen. This introduces a 90 second wait time. |
I think there might be race-y things going on, since sometimes the client exits when I try the local reproducer.
strace when it locks up:
|
So what happens is: when the pty zellij-client is running in, disappears before the client exits, it locks up:
Pinging @jaeheonji: you might be interested in this interesting and unintended side effect of your change. I will think of a solution tomorrow. |
@raphCode Thank you for a detailed description. If you need any help, please feel free to ping me. |
This problem was already noticed in #1029 and now moved here.
Reproduction steps:
--session unique_string
to find it more easily in a process listing)<Enter>~.
escapeps
orhtop
The client process linger around, no matter what. They even do not react to SIGHUP, SIGINT or SIGTERM.
I did a bisect and found 0b74604 to be the first bad commit
The text was updated successfully, but these errors were encountered: