slapcat slapadd
Outside of that, there's too little information here to go on. For example, same filesystem and same options for the filesystem? If it's cloud
now,
and was onprem before, what are the IOP restrictions, etc.
I am using slapadd. If I install from binaries on alpine (3.19) I have this slow writes issue also. How are you testing? I hope not on
ssd/nvme.
No context to your issue, my response was for Anil.
You'd at a minimum have to specify your full slapadd command.
I am doing this
126 && ldapadd -Q -D "cn=admin,cn=config" -Y EXTERNAL -H ldapi:/// -f $SLAPD_CFG_DIR/change-db-mdbperf-temp.ldif \ 127 && ldapadd -Q -D "cn=admin,cn=config" -Y EXTERNAL -H ldapi:/// -f $SLAPD_CFG_DIR/change-logging.ldif \ 128 129 && ldapadd -Q -D "cn=admin,cn=config" -Y EXTERNAL -H ldapi:/// -f $SLAPD_CFG_DIR/change-acl.ldif \ 130 && kill -HUP $(cat /var/lib/openldap/run/slapd.pid) \ 131 && sync \ 132 && rm -f $SLAPD_CFG_DIR/change-frontend.ldif \ 133 && rm -f $SLAPD_CFG_DIR/change-db.ldif \ 134 && rm -f $SLAPD_CFG_DIR/change-config.ldif 135 136 RUN [ -f "/tmp/ldap.db.gz" ] \ 137 && runuser -l ldap -s '/bin/bash' -c "rm -f $SLAPD_DATA_DIR/openldap-data/*.mdb ; gunzip -c /tmp/ldap.db.gz | /usr/sbin/slapadd -c 2> /tmp/import-errors" \ 138 && sync \ 139 && rm -f /tmp/ldap.db.gz || echo "not importing ldap.db.gz"