[Date Prev][Date Next]
Re: Large add/replace fails with I/O error
I got this problem when I was using db-2.9 on solaris 2.7 with openldap 2.0.11
you may consider upgrading the db. when i upgraded to 2.0.18 and db-3.3 it
solved the problem.
At 11:26 AM 1/2/2002 -0500, John Dalbec wrote:
I'm currently using the RedHat RawHide openldap-2.0.19-1 package.
I have several groupOfNames classes in my LDAP directory. I am trying to
rebuild them automatically from an SQL database by replacing the "member"
attribute. This works fine for most of them. However, one of them fails,
apparently because there are too many members/too much data for OpenLDAP to
handle in a "replace" command (16000+ members, 750K ldif file).
Using Net::LDAP, I get the "I/O error" code (1) and the message "Connection
reset by peer". Using ldapmodify, I get:
modifying entry <...>
ldap_modify: Can't contact LDAP server
ldif_record() = 81
If I reduce the number of member: entries to 3396 or fewer, I don't have any
problems. Is this a bug? A limitation of the LDAP protocol?
I was able to load the member list by using replace to build the first
adding the remaining entries in groups of about 3000. Still, I'd prefer
have to automate that process just for the one group.