What happens to running processes when I lose a remote connection to a *nix box?

Posted by David Marble on Super User See other posts from Super User or by David Marble
Published on 2010-05-22T00:46:52Z Indexed on 2010/05/22 0:51 UTC
Read the original article Hit count: 301

Filed under:
|
|
|
|

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!

© Super User or respective owner

Related posts about linux

Related posts about unix