[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6298) ldapsearch hangs after ldapadd
--000325558fd60e8a6a0473d5abd4
Content-Type: text/plain; charset=ISO-8859-1
I'm gonna try this:
In the file 'servers/slapd/back-bdb/idl.h':
#define BDB_IDL_LOGN 16 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
#define BDB_IDL_DB_SIZE (1<<(BDB_IDL_LOGN+1)) /* modified from 64k
to 128K */
#define BDB_IDL_UM_SIZE (1<<(BDB_IDL_LOGN+2)) /* modified from 128k
to 256k */
i have a question for the line in the file 'include/ldap_pvt_thread.h':
define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) )
ehat is sizeof(void *) when i run 64bit OS?
On Fri, Sep 18, 2009 at 8:49 AM, Howard Chu <hyc@symas.com> wrote:
> tculjaga@gmail.com wrote:
>
>> Full_Name: Tihomir Culjaga
>> Version: 2.4.18
>> OS: CentOS 5.3
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (93.136.5.55)
>>
>
> commands to perform whole-tree ldapsearch
>>
>
> Note to developers: this description is a red herring. The actual search
> that demonstrates the problem was posted later, here:
>
> http://www.openldap.org/lists/openldap-technical/200909/msg00129.html
>
> ldapsearch -h localhost -x -b
>> ou=bestMatchPrefixList,ou=sipDirektor,dc=ot,dc=hr -D cn=admin,dc=ot,dc=hr
>> -w
>> passwd
>>
>>
>>
>> DB information
>>
>> 3437278 entries
>>
>> du -c -h /var/lib/ldap/*.bdb
>> 204K /var/lib/ldap/bestMatchPrefix.bdb
>> 982M /var/lib/ldap/dn2id.bdb
>> 2.4G /var/lib/ldap/id2entry.bdb
>> 1.9M /var/lib/ldap/objectClass.bdb
>> 1.3M /var/lib/ldap/originatorPrefixID.bdb
>> 48M /var/lib/ldap/uniqueID.bdb
>> 3.4G total
>>
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
>
--000325558fd60e8a6a0473d5abd4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I'm gonna try this:<br><br><br>In the file 'servers/slapd/back-bdb/=
idl.h':<br><br>#define BDB_IDL_LOGN=A0=A0=A0 16=A0=A0=A0=A0=A0 /* DB_SI=
ZE is 2^16, UM_SIZE is 2^17 */<br><br>#define BDB_IDL_DB_SIZE=A0=A0=A0=A0=
=A0=A0=A0=A0 (1<<(BDB_IDL_LOGN+1)) /* modified from 64k to 128K */<br=
>
#define BDB_IDL_UM_SIZE=A0=A0=A0=A0=A0=A0=A0=A0 (1<<(BDB_IDL_LOGN+2))=
/* modified from 128k to 256k */<br><br><br><br>i have a question for the =
line in the file 'include/ldap_pvt_thread.h':<br><br>define LDAP_PV=
T_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) )<br>
<br><br>ehat is sizeof(void *) when i run 64bit OS?<br><br><br><br><br><div=
class=3D"gmail_quote">On Fri, Sep 18, 2009 at 8:49 AM, Howard Chu <span di=
r=3D"ltr"><<a href=3D"mailto:hyc@symas.com">hyc@symas.com</a>></span>=
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href=3D"mailto=
:tculjaga@gmail.com" target=3D"_blank">tculjaga@gmail.com</a> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Full_Name: Tihomir Culjaga<br>
Version: 2.4.18<br>
OS: CentOS 5.3<br>
URL: <a href=3D"ftp://ftp.openldap.org/incoming/" target=3D"_blank">ftp://f=
tp.openldap.org/incoming/</a><br>
Submission from: (NULL) (93.136.5.55)<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
commands to perform whole-tree ldapsearch<br>
</blockquote>
<br>
Note to developers: this description is a red herring. The actual search th=
at demonstrates the problem was posted later, here:<br>
<br>
<a href=3D"http://www.openldap.org/lists/openldap-technical/200909/msg00129=
.html" target=3D"_blank">http://www.openldap.org/lists/openldap-technical/2=
00909/msg00129.html</a><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
=A0 =A0ldapsearch =A0-h localhost -x -b<br>
ou=3DbestMatchPrefixList,ou=3DsipDirektor,dc=3Dot,dc=3Dhr -D cn=3Dadmin,dc=
=3Dot,dc=3Dhr -w<br>
passwd<br>
<br>
<br>
<br>
DB information<br>
<br>
3437278 entries<br>
<br>
du -c -h /var/lib/ldap/*.bdb<br>
=A0 204K /var/lib/ldap/bestMatchPrefix.bdb<br>
=A0 982M /var/lib/ldap/dn2id.bdb<br>
=A0 2.4G /var/lib/ldap/id2entry.bdb<br>
=A0 1.9M /var/lib/ldap/objectClass.bdb<br>
=A0 1.3M /var/lib/ldap/originatorPrefixID.bdb<br>
=A0 48M =A0/var/lib/ldap/uniqueID.bdb<br>
=A0 3.4G total<br>
</blockquote>
<br>
-- <br>
=A0-- Howard Chu<br>
=A0CTO, Symas Corp. =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.symas.com" t=
arget=3D"_blank">http://www.symas.com</a><br>
=A0Director, Highland Sun =A0 =A0 <a href=3D"http://highlandsun.com/hyc/" =
target=3D"_blank">http://highlandsun.com/hyc/</a><br>
=A0Chief Architect, OpenLDAP =A0<a href=3D"http://www.openldap.org/project=
/" target=3D"_blank">http://www.openldap.org/project/</a><br>
</blockquote></div><br>
--000325558fd60e8a6a0473d5abd4--