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

adding entries very slow in 2.1.2 (ITS#1901)



Full_Name: Thomas Reith
Version: 2.1.2
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.141.91.10)


hi,

I have some large groupOfUniqueNames entries with thousands
of uniqueMember attributes.

with openldap versions 2.0.x there was no problem adding those
entries very fast. but with 2.1.2 it takes 10 or more times
longer adding those entries/attributes

...
>>> dnPretty: <cn=xxx,ou=people,ou=de,dc=edag,dc=com>
=> ldap_bv2dn(cn=xxx,ou=people,ou=de,dc=edag,dc=com,0)
<= ldap_bv2dn(cn=xxx,ou=people,ou=de,dc=edag,dc=com,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=xxx,ou=people,ou=de,dc=edag,dc=com,272)=0
<<< dnPretty: <xxx,ou=people,ou=de,dc=edag,dc=com>
...

for every uniqueMember attribute these lines are displayed
in the logfile.
I use "LDAP_MOD_BVALUES" in the ldap_modify() calls.

Do I have to change something in the way using ldap_modify(),
or is it a problem of the functions above?

regards

Thomas Reith