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

Re: (ITS#4235) Master crashes upon replica's serach request

--On Wednesday, November 30, 2005 5:01 PM +0000 
ali.pouya@dgi.finances.gouv.fr wrote:

> This is a multipart message in MIME format.
> --=_alternative 005D8ABEC12570C9_=
> Content-Type: text/plain; charset="us-ascii"
> Once again the problem is related to the place of the syncprov overlay (I
> had another problem with the syncrepl directive).
> If the overlay is in the global area of slapd.conf (before monitor and
> bdb  database) Ih have the above mentioned error.
> If the overlay is after the bdb database that error disappears but slapd
> continues to overview all of the entries.
> I have 10 million entries and it takes hours and hours on a powerfull
> machine ...
> I attach an extrac of the log file.
> Where is the good place for syncprov overlay ?

syncprov is a per-database backend overlay.  So it should only be placed 
inside the definition area of a database.

I'm not sure what you mean by "slapd continues to overview all of the 
entries".  slapd should always be able to see all of the entries in its 
database.  I'm also not entirely clear what is taking a long time in your 

Here are some basic questions:

1) Did you use "-w" with slapadd while loading the master?

2) Did you properly configure DB_CONFIG for the size of your database?

3) I suggest using 2.3.13, there are some improvements to the syncprov 
overlay there that will likely ease other issues you might hit.  See 


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html