[Bug 52] ssh hangs on exit
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Feb 4 02:19:05 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=52
------- Additional Comments From tsi at ualberta.ca 2005-02-04 02:19 -------
Well, I haven't had a lot of time to spend on this, but the hangs I'm still
seeing after my patch are intermittent and difficult to duplicate. "High-ish"
loads seem to trigger them, after, for example, whatever's been put in the
background has had a chance to increase the load average. So there's definitely
a timing issue here somewhere.
The "child" sshd is left sitting in select() with SIGCHLD blocked after its own
child (the shell or whatever) has been reaped. The few forays into the code
I've had time to do so far have yet to explain, to me at least, how this can
happen. I suspect client_alive_scheduled shouldn't be reset, but I've yet to
confirm this, or even whether these remaining hangs are in fact related to the
problem at hand here or some other new problem.
I also agree adding a configurable delay doesn't solve anything. After all,
what's a hang if not a delay?
BTW, I reassigned the bug to myself as a remainder that I need to spend time on
this. But if don't you want me to do this re-assignment, that's fine too.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list