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

Re: (ITS#5939) Missing close of file descriptor



joakim.bentholm@birdstep.com wrote:
> Full_Name: Joakim Bentholm
> Version: OpenLDAP 2.4.13
> OS: FreeBSD 7.0 Release
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (217.13.255.38)
>
>
> The running setup:
> An ldap server with a socket back-end communicating with server process
> listening on incoming requests from the socket back-end and replying in an
> orderly fashing.
>
> The failure:
> If the server process shuts down, the socket back-end will continue to try to
> connect and allocating new file descriptors which will never be released. If the
> server process  is restarted everything will work, unless the file descriptor
> limit have been reached, in case the ldap server have to be restart.

Thanks for the report and patch, fixed now in HEAD.

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