problem with sshd
Vasya Pupkin
cygwin@bsrealm.net
Thu Dec 23 03:21:00 GMT 2010
On Wed, Dec 22, 2010 at 9:50 PM, David Sastre <d.sastre.medina@gmail.com> wrote:
>> >> I have a problem running cygwin sshd. I often end up with a lot of
>> >> bash processes running and eating memory while there are no single
>> >> active ssh session. It happens when either connection lost or user
>> >> closes connection without logging out, sshd process dies but bash
>> >> remains in memory forever. Is it possible to prevent this? In all real
>> >> unix environments this never happen, bash always dies when parent sshd
>> >> exits.
>
> You might want to enable TCPKeepAlive. It could, at a very least,
> prevent disconnections without explicit user interaction.
It's enabled. When sshd not receiving keepalives (network issue or
user closed terminal), it dies (which is good) and leaves bash process
running forever (which is not good).
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list