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

Re: (ITS#3513) back-meta hang



> 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?  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".

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497