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

RE: scope not ok errors on very large databases (ITS#3343)



 
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