[Date Prev][Date Next]
Re: openldap slowness...
With the following, my ldapmodify command is still slow. My ldif file
has about 5000 entries for users, and 5000 add/modify entries to add
that user to a cn with a uniquemember attribute. To make sure
everything I have in LDIF overwrites what in ldap, etc.,. I use the
ldapmodify -c -D "..." -w ... -S outfile -x -r -f ldif
ldapmodify -c -D "..." -w ... -x -a -f outfile
index objectClass pres,eq
index uid,cn,sn,givenName,mail pres,eq,sub
#set the logfile size to 100MB.
#set the in-memory log buffer size
#temporary while we're slapadding the database
#set the (per db?) cachesize to 0GB + X bytes, split into N pieces of
set_cachesize 0 10000000 2
On Aug 19, 2004, at 6:11 PM, Luis Daniel Lucio Quiroz wrote:
could you send us your index configuration, on many cases is a razon.
On Thu, 19 Aug 2004, John Von Essen wrote:
I have openldap on an Itanium HP-UX box (v11.23). OpenLDAP was
installed as a depot package, and I am using DB-4.2.
I have an ldif file with some add and updates (about 5000 entries).
When I do the ldapmodify, things go really slow, after 40 minutes,
1800 entries have been worked on.
Sometimes it will just there for 5-8 secs doing nothing, then bam, 10
entries will scroll by.
This is shot in the dark, but anyone have any idea why it is so slow?