Mailing List Archive

[Bug 1517] ssh ControlMaster process is crashing frequently when multiplexing ssh and scp connections with error 'select: Invalid argument'
https://bugzilla.mindrot.org/show_bug.cgi?id=1517





--- Comment #2 from Damien Miller <djm@mindrot.org> 2008-12-08 10:55:28 ---
Created an attachment (id=1587)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1587)
debug wrapper for select()

You will run into out-of-file-descriptor conditions with
MaxSessions=8192 and a fd limit of 8192 - each session may consume (in
the worst case) five file descriptors.

That being said, it should not crash the client. Unfortunately,
debugging these things is tricky. Could you see if you can catch the
crash with the attached diff applied? It is a debugging wrapper for
select() that logs the arguments and should catch invalid fds that are
being passed.

be warned: it will cause a lot of log spam, especially since you have
so many open connections.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs