Quanah Gibson-Mount quanah@symas.com schrieb am 14.07.2020 um 17:28 in
Nachricht <13BD7019D5690162BCFE9056@[192.168.0.156]>:
‑‑On Friday, July 10, 2020 11:04 AM ‑0400 kumar rahul rahul2002mit@gmail.com wrote:
- What is the recommended value for olcSpCheckpoint?
As per your blog value is olcSpCheckpoint: 20 10
I prefer to have it checkpoint fairly frequently, which is why I chose those values.
- What is the recommended value of olcAccessLogPurge?
As per your blog value is olcAccessLogPurge: 01+00:00 00+04:00
So this depends specifically on the environment in question. The more data
retained, the further back a replica can "catch up" to the provider(s) by using delta‑syncrepl. However, the more data retained, the larger the database will be. Whether or not one wants a replica to be able to "catch up" to a provider if it is several days behind vs reloading it with a fresh
copy of the db from the provider is the real question.
Regardless of the data retention period, I always suggest a frequent purge interval. This is because slapd essentially pauses while a purge is ongoing. For most environments, a 4 hour purge interval is not noticable. I've gone to as frequent as every 2 hours for extremely active sites.
Is there a specific log token that lets slapd log the duration (and occurrence) of purge events without flooding the logs with all other types of messages?
Regards, Quanah
‑‑
Quanah Gibson‑Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com