]> git.sur5r.net Git - openldap/commitdiff
bump mdb maxsize up to 32M to pass test060
authorHoward Chu <highlandsun@gmail.com>
Sun, 28 Aug 2011 11:04:09 +0000 (04:04 -0700)
committerHoward Chu <highlandsun@gmail.com>
Sun, 28 Aug 2011 11:05:28 +0000 (04:05 -0700)
Note in slapd-mdb(5) that setting a huge size is desirable.

doc/man/man5/slapd-mdb.5
tests/data/slapd.conf

index f52047f71206bfab46f9d90af7dd404245f76691..0b2086079005c9aef2056918e0794ae03bb538a0 100644 (file)
@@ -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 \ <integer>
 Specify the file protection mode that newly created database 
index 05592cd0060fd3322ad5e59caa9c00399cec2b24..717047a19be7ee1f422f73689574c74b76b562fe 100644 (file)
@@ -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