This is a discussion on Re: too many close calls for non-opened fds - openssh ; On Wed, Aug 16, 2006 at 11:51:37PM +0530, Logu wrote: > >On Mon, Aug 14, 2006 at 10:35:26AM +0530, Logu wrote: > >>Is there anyway to fix this too many close() calls which > >>results in performance degradation? > > ...
On Wed, Aug 16, 2006 at 11:51:37PM +0530, Logu wrote:
> >On Mon, Aug 14, 2006 at 10:35:26AM +0530, Logu wrote:
> >>Is there anyway to fix this too many close() calls which
> >>results in performance degradation?
> >
> >is it really a performance degradation?
> >
>
> Yes, we see a performance degradation. We see approximately 30-40 new
> connections per second in our machine. In another machine we see the number
> of close calls go upto 60K.
>
> I would like to know the impact of checking the resource limits before
> calling close().
if a file is opened and the resource limit is decreased,
then looping to the resource limit will miss some open files.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev