[Dovecot] Intermitent ldap auth problems benchmarking dovecot

Timo Sirainen tss at iki.fi
Tue Apr 12 17:06:07 EEST 2011

On Tue, 2011-04-12 at 16:55 +0300, Timo Sirainen wrote:
> >  Apr 12 09:40:07 buzon dovecot: auth: Error: ldap(correo, Request queue is full (oldest added 1 secs ago)
> Hmm. This is a hard coded limit. I didn't really think people wanted >1k
> logins per second.. In src/auth/db-ldap.h:
> /* Maximum number of requests in queue. After this new requests are
> dropped. */
> #define DB_LDAP_MAX_QUEUE_SIZE 1024
> Maybe that limit should be dynamic. Like only >30sec old requests
> actually get dropped when the limit gets over 1k.

Or just remove the check entirely:

More information about the dovecot mailing list