Re: [Bug 407428]
I don't think the Ctrl-C handling is due to ssh, more like some tty or shell option of some sort. Bash _does_ print ^C when I press Ctrl-C but nothing else happens (no interrupt signal sent). There probably are two bugs here: * ssh hangs/creates zombies * bash does not propagate signals (interactive mode broken?) -- sshd zombie processes and strange behavior after karmic upgrade https://bugs.launchpad.net/bugs/407428 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 407428] [NEW] sshd zombie processes and strange behavior after karmic upgrade
Hi Michael, On Fri, Jul 31, 2009 at 05:24:34PM -, Michael Helmling wrote: Public bug reported: Binary package hint: openssh-server Hi, since upgrading to karmic on one machine I get a strange behavior of sshd: - After exitting an SSH-session, the terminal on the client machine hangs instead of closing - On the server there is a sshd defunct after each such session (this is especially annoying since I have a nagios server checking the SSH status every few minutes, so the number of zombie processes rapidly increases) - Additionally, I noticed that Ctrl-C does not work inside the SSH session, which is a bash shortcut that I use very often ;-) (should start a new empty command line ignoring what you've entered so far) Restarting sshd takes exceptionally long, but at least kills all the zombies. When I'm working on a terminal directly at the machine (i.e. not over SSH), the behavior is totally normal, so I consider this an ssh (or at least ssh-related) bug. I've seen a similar behavior when I clone virtual machines. Rebooting the virtual instance fixes all of the issue though. Is your system a virtual machine or a physical machine? What happens if you reboot the system? How is the system installed (from an iso, the network)? status incomplete -- Mathias Gug Ubuntu Developer http://www.ubuntu.com ** Changed in: openssh (Ubuntu) Status: New = Incomplete -- sshd zombie processes and strange behavior after karmic upgrade https://bugs.launchpad.net/bugs/407428 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 407428] Re: sshd zombie processes and strange behavior after karmic upgrade
On Fri, Jul 31, 2009 at 06:53:30PM -, Michael Helmling wrote: Rebooting doesn't solve the problem. However, it isn't totally reproducable: After the last /etc/init.d/ssh restart, I could exit ssh sessions normally without leaving zombie processes. However, now after another reboot, the zombies return. So, rebooting is rather counterproductive than helping. ;-) Right. Could confirm that issuing *one* /etc/init.d/ssh restart after the system has rebooted fixes the issue? -- Mathias Gug Ubuntu Developer http://www.ubuntu.com -- sshd zombie processes and strange behavior after karmic upgrade https://bugs.launchpad.net/bugs/407428 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs