[Dovecot] Bug - dovecot-auth hangs in ldap query. 1.1.16 (also in 1.2.2)
Marek Miska
marek.miska at netart.pl
Mon Aug 3 10:34:21 EEST 2009
dovecot-auth hangs when many (>128) LDAP queries are submited
simultaneously.
(for example via pop3 benchmarking tool).
Bug is in src/auth/db-ldap.c:db_ldap_request_queue_next
if (queue_size > DB_LDAP_MAX_PENDING_REQUESTS) {
/* wait until server has replied to some requests */
return FALSE;
}
(queue_size is total queue size, not only queries sent to LDAP server.)
I think this condition should be:
if (conn->pending_count >= DB_LDAP_MAX_PENDING_REQUESTS) {
More information about the dovecot
mailing list