[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [JunkMail] RE: scope not ok errors on very large databases (ITS#3343)
Hm.... Would need a gdb stack trace to be sure, but most likely the new
size is too large for the regular thread stack. You'll need to increase
the size of LDAP_PVT_THREAD_STACK_SIZE and recompile libldap_r to change
that, and relink slapd.
Armbrust, Daniel C. wrote:
>
>I changed the values you recommended to:
>Code from openldap-2.2.17/servers/slapd/back-bdb/idl.h:
>
>/* IDL sizes - likely should be even bigger
> * limiting factors: sizeof(ID), thread stack size
> */
>#define BDB_IDL_DB_SIZE (1<<18) /* 64K IDL on disk - dan modified to 256K */
>#define BDB_IDL_UM_SIZE (1<<19) /* 128K IDL in memory - dan modifed to 512K*/
>
>
>And now I get a segmentation fault when I run "make test"
>
>
>
>>>>>>Starting test003-search ...
>>>>>>
>>>>>>
>running defines.sh
>Running slapadd to build slapd database...
>Running slapindex to index slapd database...
>Starting slapd on TCP/IP port 9011...
>Testing slapd searching...
>Waiting 5 seconds for slapd to start...
>Testing exact searching...
>Testing approximate searching...
>Testing OR searching...
>Testing AND matching and ends-with searching...
>./scripts/test003-search: line 100: 7856 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 2>&1
>ldapsearch failed (255)!
>./scripts/test003-search: line 104: kill: (7856) - No such process
>
>
>>>>>>./scripts/test003-search failed (exit 255)
>>>>>>
>>>>>>
>make[2]: *** [bdb-yes] Error 255
>make[2]: Leaving directory `/home/armbrust/temp/openldap-2.2.17/tests'
>make[1]: *** [test] Error 2
>make[1]: Leaving directory `/home/armbrust/temp/openldap-2.2.17/tests'
>make: *** [test] Error 2
>
>Did I mess up changing the params?
>Dan
>
>
>
>
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support