[Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting
Angel L. Mateo
amateo at um.es
Fri Aug 26 09:43:29 EEST 2011
El 25/08/11 12:10, Timo Sirainen escribió:
> On 25.8.2011, at 13.04, Angel L. Mateo wrote:
>> Aug 24 23:07:32 myotis28 dovecot: auth-worker(default): LDAP: Connection lost to LDAP server, reconnecting
>> I have seen in the mail list a patch for 1.2 (http://hg.dovecot.org/dovecot-1.2/rev/355d5a40f7a7) to ignore these logs when the disconnection is because of idle timeouts. As far as I could see in this patch and 2.0.13 source code, this patch is already applied in 2.0. So I guess that the disconnection is for other problem, isn't it?
> I had completely forgotten I had added such a feature :) See what it logs with attached patch.
I have found the problem. Is not a dovecot issue. The problem (if this
is a problem) is that our ldap is behind a load balancer. This load
balancer has a timeout of 3600s for ldap connections. If there is a
connection with more than 3600s without activity, the load balancer
close it, and this is the reason of the message.
Now I'm trying to find why dovecot has a ldap connection with inactivity.
One question, does auth process use more than one ldap connection? If
it uses a pool is more reasonable, because we have auth cache enabled
and now he have low activity, so it could be that a connection last more
than 1 hour with activity, isn't it?
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información _o)
y las Comunicaciones Aplicadas (ATICA) / \\
More information about the dovecot