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

Re: Antw: Re: Replication delay



El 29/3/19 a las 18:49, Quanah Gibson-Mount escribió:
--On Wednesday, March 27, 2019 9:24 AM +0100 "Ángel L. Mateo" <amateo@um.es> wrote:

    Although I'm not using any intermediate device between ldap servers
(they all are in the same network) I have added the keepalive option to
syncrepl, without any result.

Yeah, it's more of a safeguard to ensure one avoids those types of issues.

As for your current situation, I did have a customer the other day who was reporting multi-hour replication delays.  But when I looked into it, the issue was not unexpected.  I don't know if this has any relevance to your situation, but here is what they were doing.

They had a 4-way MMR setup.  They were doing 50k ADDs to each of the masters.  This is one of the worst things one could do, becuase it will massively slow down replication and cause all the servers to get behind due to the contention caused by the massive number of ADD ops occurring on each server while also trying to replicate the ADDs from the other servers. I.e., the best route would be to simply ADD all 150k entries to a single member node and let them replicate out from there.

In my case I'm not doing massive ADDs. The only modification I could have is related with password policy overlay in a >40k users directory.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337