This is a discussion on Re: too many close calls for non-opened fds - openssh ; This is a multi-part message in MIME format. ------=_NextPart_000_01B7_01C6C31D.3349F2B0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit > On Thu, 17 Aug 2006, Logu wrote: > >> I tried by disabling the re-exec feature and still I see a large number ...
This is a multi-part message in MIME format.
------=_NextPart_000_01B7_01C6C31D.3349F2B0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
> On Thu, 17 Aug 2006, Logu wrote:
>
>> I tried by disabling the re-exec feature and still I see a large number
>> of
>> close() calls during connection.
>> Is there any other possible reason for the issue.
>
> sshd closes all fd's unconditionally. It should only happen once per
> sshd invocation when reexec is disabled.
>
> -d
>
I have attached a patch that prevents calling closefrom() when re-exec is
disabled. Your comments are welcome.
Thanks
-logu
------=_NextPart_000_01B7_01C6C31D.3349F2B0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
------=_NextPart_000_01B7_01C6C31D.3349F2B0--