From: Howard Chu Date: Thu, 12 Dec 2002 23:39:21 +0000 (+0000) Subject: Added searchstack keyword description. (Sorry, I don't like the word "slab"...) X-Git-Tag: NO_SLAP_OP_BLOCKS~684 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=143603690f0436f049140102027d78f2dbb7f447;p=openldap Added searchstack keyword description. (Sorry, I don't like the word "slab"...) --- diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index c76dbdb4bc..b387fd3de9 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -94,6 +94,19 @@ The default is the same as Specify the file protection mode that newly created database index files should have. The default is 0600. +.TP +.B searchstack +Specify the depth of the stack used for search filter evaluation. +Search filters are evaluated on a stack to accomodate nested AND / OR +clauses. An individual stack is assigned to each server thread. +The depth of the stack determines how complex a filter can be +evaluated without requiring any additional memory allocation. Filters that +are nested deeper than the search stack depth will cause a separate +stack to be allocated for that particular search operation. These +allocations can have a major negative impact on server performance, +but specifying too much stack will also consume a great deal of memory. +Each search stack uses 512K bytes per level. The default stack depth +is 16, thus 8MB per thread is used. .SH FILES .TP ETCDIR/slapd.conf