On Tue, Oct 15, 2024 at 10:09:40AM +0200, Falgon wrote:
Hello,
I'm writing again in this conversation to provide information and bring the topic back.
Since the last message we have implemented the lastbind overlay with a lastbindprecision setting of 1800 which has greatly reduced the replication problem (but has not solved it completely). Over the past month, we've set up and configured other openLDAP directories with the same configuration for a new service. The new directories present the same replication problem. The difference is that, for these new directories, we have a lot more modifications by MOD operations. The lastbind overlay is therefore no longer a solution to this problem.
What is your *slowest* server's maximum sustained write rate? If the *global* write rate is higher than that, that server is guaranteed to fall behind.
Improving that usually boils down to removing contention from the DBs, in order: - each DB on a dedicated disk, separate from the one used for logging, either a raw block device or at least a filesystem with journalling switched *off* - using the internal file logger if logs are your bottleneck - giving the system enough RAM so that searches don't have to hit the disk at all
Regards,