[Date Prev][Date Next]
Re: (ITS#4420) Hanging CLOSE_WAIT connections in ldap-backend
I'm experiencing the CLOSE_WAIT problem with slapd 2.3.32 on MacOS X
(PPC). Cached connections aren't being leaked but they aren't closed on
idle-timeout and they remain in CLOSE_WAIT state after the remote host
./configure --enable-rewrite --enable-ldap --enable-meta
(The problem appears also without idle-timeout.)
Steps to reproduce:
1. start slapd
2. connect to slapd and do some queries
3. disconnect the proxied server (for example by killing it)
4. netstat -a still shows the connection as CLOSE_WAIT
when running slapd with "-d 5", nothing is printed when the connection
is closed by the remote host (i.e. when I kill it), so slapd isn't
probably catching the event at all.
- alessandro ranellucci.