[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#3850 hang after deferring : binding



hyc@symas.com wrote:
> hyc@symas.com wrote:
>   
>> I'm having trouble setting up a test environment to reproduce this 
>> problem. With a test program that simply binds and unbinds in a tight 
>> loop, I run out of available sockets after about 60,000 connections. 
>> Once I run out of sockets all of the test programs exit... And of 
>> course, no problem manifests while Binding/unbinding for those 60,000 
>> attempts.
>>     
>
> I've reproduced this problem in the RE22 slapd using the slapd-bind test 
> program that I just added to CVS HEAD. It takes upward of 20,000 
> connection attempts to occur, but yes, the slapd is unresponsive after 
> that. Still investigating.

I take this back. The slapd server is fine, but my system ran out of 
available sockets. I don't think this is a relevant problem - the reason 
the client usually hangs after about 28,000 connections is because all 
of the TCP ports are used up by then, the old ports are still in 
TIME_WAIT and the client can't make any new connections at that point.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/