This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with sshd


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]