Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
c2261c69
Commit
c2261c69
authored
15 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6176
parent
9f54cfb7
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
doc/man/man5/slapd-bdb.5
+4
-1
4 additions, 1 deletion
doc/man/man5/slapd-bdb.5
servers/slapd/back-bdb/init.c
+5
-0
5 additions, 0 deletions
servers/slapd/back-bdb/init.c
with
10 additions
and
1 deletion
CHANGES
+
1
−
0
View file @
c2261c69
...
...
@@ -28,6 +28,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapd sockets usage on windows (ITS#6039)
Fixed slapd some abandon and cancel race conditions (ITS#6104)
Fixed slapd tls context after changes (ITS#6135)
Fixed slapd-bdb/hdb adjust dncachesize if too low (ITS#6176)
Fixed slapd-hdb freeing of already freed entries (ITS#6074)
Fixed slapd-hdb entryinfo cleanup (ITS#6088)
Fixed slapd-hdb dncache lockups (ITS#6095)
...
...
This diff is collapsed.
Click to expand it.
doc/man/man5/slapd-bdb.5
+
4
−
1
View file @
c2261c69
...
...
@@ -147,7 +147,10 @@ will return a different result.
.BI dncachesize \ <integer>
Specify the maximum number of DNs in the in-memory DN cache. The
default is twice the \fBcachesize\fP. Ideally this cache should be
large enough to contain the DNs of every entry in the database.
large enough to contain the DNs of every entry in the database. If
set to a smaller value than the \fBcachesize\fP it will be silently
increased to equal the \fBcachesize\fP.
It should be noted that the \fBDN cache\fP is allowed to temporarily
grow beyond the configured size. It does this if many entries are
locked when it tries to do a purge, because that means they're
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-bdb/init.c
+
5
−
0
View file @
c2261c69
...
...
@@ -374,6 +374,11 @@ shm_retry:
bdb
->
bi_cache
.
c_eimax
=
bdb
->
bi_cache
.
c_maxsize
*
2
;
}
/* dncache must be >= entrycache */
if
(
bdb
->
bi_cache
.
c_eimax
<
bdb
->
bi_cache
.
c_maxsize
)
{
bdb
->
bi_cache
.
c_eimax
=
bdb
->
bi_cache
.
c_maxsize
;
}
if
(
bdb
->
bi_idl_cache_max_size
)
{
bdb
->
bi_idl_tree
=
NULL
;
bdb
->
bi_idl_cache_size
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment