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

Re: No such Object



Wes,
this answer would is an excellent addition for the performance tuning section of
the faq. Since the credit is yours, could you please add it? 

---------------------------- snip -----------------------------------
Try disabling write sync and using a RAM disk for DB
during the ldapadd.  After ldapadd finishing, shutdown
slapd, move the DB to a hard drive, reenable write sync,
restart slapd.
 
I would also suggest doing the initial load with indexing completely
disabled.  Once the ldapadd has completed, stop slapd, dump the
database to an ldif, enable indexing in slapd.conf and create the
indexes by hand.   E.g.
 
ldbmcat id2entry.dbb > dump.ldif
foreach i ( `grep ^index slapd.index.conf | awk '{ print $2 }'` )
    ldif2index -i dump.ldif $i &
end
 
slapd creates it's indexes with a single thread.  By creating the
indexes in parallel as above, you radically decrease the load time.
---------------------------- snip -----------------------------------

Thanks for the support!
Ingmar Gutberlet
begin:vcard 
n:Gutberlet;Dr. Ingmar
tel;cell:+49-170-4103232
tel;fax:+49-3641-945142
tel;work:+49-3641-945145
x-mozilla-html:FALSE
org:University of Jena;Biological and Clinical Psychology
adr:;;Am Steiger 3, Haus 1;07743 Jena;;;Germany
version:2.1
email;internet:gutberle@biopsy.uni-jena.de
fn:Dr. Ingmar Gutberlet
end:vcard