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

Re: (ITS#3513) back-meta hang



On Tue, 2005-01-25 at 11:59 +0100, Pierangelo Masarati wrote:
> > Full_Name: Martin Evans
> > Version: 2.2.23
> > OS: Linux
> > URL:
> > Submission from: (NULL) (138.37.7.247)
> >
> >
> > The following configuration hangs in versions above 2.2.20 (I've tried
> > 2.2.22
> > and 2.2.23).
> >
> > # meta the contacts directory
> > database meta
> > suffix ou=contacts
> > readonly on
> > lastmod off
> > uri "ldap://ldap-external.qmul.ac.uk/ou=contacts";
> > suffixmassage ou=contacts "o=Queen Mary and Westfield College,c=gb"
> >
> > When doing simple searches:
> >
> > ldapsearch -x -b"ou=contacts" -s sub -LLL "(sn=evans)" dn
> 
> I'll need to check it; back-meta passed all my tests recently.  Does it
> __always__ hang, or only some time?

Always.

>   There's a fix in HEAD for hangs
> related to thread exaustion when the target and the meta are the same DSA;
> if this is the case, a quick fix is to increase the "threads" parameter in
> slapd.conf.  In the meanwhile, you can obtain the same results with
> back-ldap: use the same configuration, only remove the "DN" portion of the
> "URI".

I don't need a quick fix, the configuration above is a simplified
example. Though, I can confirm that it works with back-ldap as you
suggest.

I'd be glad to provide any more info you may need.

Thanks,
Martin.

-- 
-- Dr MDT Evans, Computing Services, Queen Mary, University of London