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

(ITS#5886) epoll issues with lost connections



Full_Name: Quanah Gibson-Mount
Version: 2.4.13
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)


When OpenLDAP is built on a system with epoll instead of select, it loses the
ability to properly clean up those connections, as for epoll this is a separate
event.

slapd needs to be fixed to handle this case when epoll is used.  It's fairly
trivial to trigger it, simply write a script that does lots of searches and
closes the connection without unbinding.  This will cause slapd to eventually
hang and stop accepting connections for a few seconds.