Hi guys,
I have an architecture with : 2 masters ( refresh and persist ) a load balanceur in front of the masters (vip main/sorry), to avoid write in the same time on the masters (stability) few consumers use back-mdb openldap version 2.4.45 my huge branche 3181406 entries, data.mdb 7.7G on the main master, 9.1G on the consumers and the sorry master ( use du -h to get the size )
I have three questions : why the size is smaller on the main master ? Sometimes i have to scripts a lot of ldapmodify ( ~100000 ), should i have to set olcDbEnvFlags: writemap olcDbEnvFlags: nometasync for increase performance ? This sets is recommended for production ? stability issues with theses set ? i have no stability issue for now, but considering this two questions, is it recommended to upgrade ?
thank's in advance
regards
Olivier
--On Friday, January 22, 2021 2:50 PM +0000 olivier.chirossel@sfr.com wrote:
openldap version 2.4.45
You absoultely need to upgrade to 2.4.57 immediately. I strongly advise reading the change logs for OpenLDAP. Numerous significant issues have been fixed both with replication and with free list management in MDB.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
thank's for your quick reply
could you give me your opinion about the set of
olcDbEnvFlags: writemap olcDbEnvFlags: nometasync
for production usage
Regards
Olivier
Le vendredi 22 janvier 2021 à 08:31 -0800, Quanah Gibson-Mount a écrit :
--On Friday, January 22, 2021 2:50 PM +0000 olivier.chirossel@sfr.com wrote:
openldap version 2.4.45
You absoultely need to upgrade to 2.4.57 immediately. I strongly advise reading the change logs for OpenLDAP. Numerous significant issues have been fixed both with replication and with free list management in MDB.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.symas.c...
--On Friday, January 22, 2021 5:37 PM +0000 "CHIROSSEL, Olivier" olivier.chirossel@sfr.com wrote:
thank's for your quick reply
could you give me your opinion about the set of
olcDbEnvFlags: writemap olcDbEnvFlags: nometasync
for production usage
I don't recommend nometasync for production, as an unexpected shutdown of slapd can cause the mdb db to not be recoverable. I generally didn't have issues with using writemap. However, unless you're seeing issues where your write operations are taking an excessive amount of time to complete, there's not really a need to set it, either. Given the age of the version you are on and the fixes since then, any data collected from that release isn't really going to be relevant. You'll need/want to gather new data after upgrading to a current release. I'd also strongly advise exporting (slapcat) and then re-importing the MDB databases once the upgrade is complete to compact any excessive freespace due to the release you were on.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org