butlerx / wetty

Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)
https://butlerx.github.io/wetty
MIT License
4.26k stars 670 forks source link

Numerous zombie processes after logging out of wetty terminal #4

Closed terryschen closed 10 years ago

terryschen commented 10 years ago

I am noticing that there are quite a few linux zombie processes after normal login and out through wetty. All the linux zombie process are [ssh] so I suspect that the ssh is never closed properly by wetty. Unfortunately, aside from restarting the node server, I don't quite know how to fix this. Any ideas?

krishnasrinivas commented 10 years ago

Can you the latest code? Also added new package 'waitpid' dependency.

terryschen commented 10 years ago

Hi krishnasrinivas,

Pulled the new code and looks like it works. No more SSH defunct no matter how I login / logout of wetty.

Thanks! Terry