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

Re: (ITS#4387) slapd-ldap backend leaks descriptors on closed connections on x86_64



Additional details:

When I also configure the slapd-bdb instance to timeout idle
connections, by placing "idletimeout 33" in the global section, the
connections are forcibly closed on slapd-bdb side, but slapd-ldap
instance still keeps their descriptors.

In that case, "netstat -anp" show connections in CLOSE_WAIT state,
instead of ESTABLISHED:

tcp        1      0 127.0.0.1:40768             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40769             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40778             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40777             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40827             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40806             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40807             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40804             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40805             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40802             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40803             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd
tcp        1      0 127.0.0.1:40815             127.0.0.1:392         
     CLOSE_WAIT  1374/slapd