From: Howard Chu Date: Sun, 28 Aug 2011 11:04:09 +0000 (-0700) Subject: bump mdb maxsize up to 32M to pass test060 X-Git-Url: https://git.sur5r.net/?p=openldap;a=commitdiff_plain;h=762c9e432f5e1694e4ad2781ca95b5cc50e7886c bump mdb maxsize up to 32M to pass test060 Note in slapd-mdb(5) that setting a huge size is desirable. --- diff --git a/doc/man/man5/slapd-mdb.5 b/doc/man/man5/slapd-mdb.5 index f52047f712..0b20860790 100644 --- a/doc/man/man5/slapd-mdb.5 +++ b/doc/man/man5/slapd-mdb.5 @@ -92,6 +92,11 @@ Specify the maximum size of the database in bytes. A memory map of this size is allocated at startup time and the database will not be allowed to grow beyond this size. The default is 10485760 bytes. This setting may be changed upward if the configured limit needs to be increased. + +Note: It is important to set this to as large a value as possible, +(relative to anticipated growth of the actual data over time) since +growing the size later may not be practical when the system is under +heavy load. .TP .BI mode \ Specify the file protection mode that newly created database diff --git a/tests/data/slapd.conf b/tests/data/slapd.conf index 05592cd006..717047a19b 100644 --- a/tests/data/slapd.conf +++ b/tests/data/slapd.conf @@ -48,6 +48,7 @@ rootpw secret #hdb#index objectClass eq #hdb#index cn,sn,uid pres,eq,sub #hdb#checkpoint 1024 5 +#mdb#maxsize 33554432 #ndb#dbname db_1 #ndb#include @DATADIR@/ndb.conf