too many close calls for non-opened fds

Markus Friedl markus.r.friedl at arcor.de
Thu Aug 17 06:56:46 EST 2006


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.



More information about the openssh-unix-dev mailing list