What happens to running processes when I lose a remote connection to a *nix box?
- by David Marble
I occasionally lose my remote SSH connection to my VPS. I use screen for long-running processes, but am wondering what happens to the processes I had running aside from those run within a screen session if I lose the connection to the box.
When I re-establish a connection to the box, what happened to the bash and sshd processes that were running when I lost the connection? Today I lost connection repeatedly and noticed many more bash and sshd processes than usual.
If there are processes hanging around, do I need to kill them? How could I determine which processes were abandoned from my previous session?
Thanks for any replies!