Re: too many close calls for non-opened fds

This is a discussion on Re: too many close calls for non-opened fds within the OpenSSH Development forums, part of the Networking and Network Related category; >> <markus.r.friedl@arcor.de> wrote: >> >> > if a file is opened ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2006
Logu
 
Posts: n/a
Default Re: too many close calls for non-opened fds

>> <markus.r.friedl@arcor.de> wrote:
>>
>> > if a file is opened and the resource limit is decreased,
>> > then looping to the resource limit will miss some open files.

>>
>> Does any UNIX variant have a "close all my open fds except for these"

>
> openbsd has closefrom(2), and openssh tries to emulate this
> syscall if it's not available.


I thought this issue occurs from openssh-3.9 because of introduction of
re-exec feature.
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.

If this has been done for re-exec can we just fix for the re-exec disabled
case. Is there any issue with this.

Thanks
-logu

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0